Add test to ensure path.join() can be called with a nil argument
This commit is contained in:
parent
1c06557bc9
commit
c9d4e88278
@ -171,6 +171,10 @@
|
||||
test.isequal("trailing", path.join(".", "trailing"))
|
||||
end
|
||||
|
||||
function suite.join_OnNilSecondPart()
|
||||
test.isequal("leading", path.join("leading", nil))
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- path.rebase() tests
|
||||
|
Loading…
Reference in New Issue
Block a user