4744a744f0
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> |
||
---|---|---|
.. | ||
cache_spec.lua | ||
color_spec.lua | ||
geometry_spec.lua | ||
matrix_spec.lua | ||
object_spec.lua | ||
protected_call_spec.lua | ||
sort_topological_spec.lua | ||
string_spec.lua | ||
table_spec.lua |