* fix(#2094): fix the path resolving in windows * fix test case * tweak test case
This commit is contained in:
@@ -34,9 +34,9 @@ describe("join_paths", function()
|
||||
assert.equals("path" .. utils.path_sep .. "file.lua", result)
|
||||
end)
|
||||
|
||||
it("should return empty string when no paths provided", function()
|
||||
it("should handle no paths provided", function()
|
||||
local result = utils.join_paths()
|
||||
assert.equals("", result)
|
||||
assert.equals(".", result)
|
||||
end)
|
||||
|
||||
it("should return first path when only one path provided", function()
|
||||
|
||||
Reference in New Issue
Block a user