Add test to ensure path.join() can be called with a nil argument

This commit is contained in:
Jason Perkins 2011-01-18 12:25:43 -05:00
parent 1c06557bc9
commit c9d4e88278

View File

@ -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