awesome/spec/gears
Uli Schlachter 4744a744f0 gears.table.join: Ignore nil arguments (#2440)
When calling join with e.g. arguments (nil, {"a"}), then everything past
the nil was ignored, because the code internally used ipairs() to
iterate over the arguments and this stops at the first nil it
encounters.

Fix this by using select() to iterate over the arguments.

This also adds a unit test for this problem.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-10-16 10:17:45 -04:00
..
cache_spec.lua Add a generic cache system as gears.cache 2015-07-25 15:07:47 +02:00
color_spec.lua ensure_pango_color: Support hex values with alpha 2018-01-13 02:15:30 +01:00
geometry_spec.lua Add some tests for gears.geometry.rectangle.area_remove 2017-03-12 17:01:45 +01:00
matrix_spec.lua gears.matrix: Add create_rotate_at() (#1181) 2016-10-25 15:37:49 +02:00
object_spec.lua gears.object: Implement read-only properties 2016-06-08 20:28:30 +02:00
protected_call_spec.lua Add gears.protected_call 2016-02-28 12:07:02 +01:00
sort_topological_spec.lua tests: Test the gears.sort module 2018-03-04 01:34:33 -05:00
string_spec.lua Add tests for gears.string.startswith and endswith 2017-08-21 09:05:37 +02:00
table_spec.lua gears.table.join: Ignore nil arguments (#2440) 2018-10-16 10:17:45 -04:00