Skip to content

Commit

Permalink
fix bad path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Apr 2, 2024
1 parent a9002f8 commit 1c03e4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/path_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("pl.path", function()
HOME = "\\home\\user1",
USERPROFILE = "\\home\\user2",
HOMEDRIVE = "C:",
HOMEPATH = "\\Users\\user3",
HOMEPATH = "\\home\\user3",
}
assert.equal("\\home\\user1\\file", path.expanduser("~\\file"))
end)
Expand All @@ -84,7 +84,7 @@ describe("pl.path", function()
--HOME = "\\home\\user1",
USERPROFILE = "\\home\\user2",
HOMEDRIVE = "C:",
HOMEPATH = "\\Users\\user3",
HOMEPATH = "\\home\\user3",
}
assert.equal("\\home\\user2\\file", path.expanduser("~\\file"))
end)
Expand All @@ -95,7 +95,7 @@ describe("pl.path", function()
-- HOME = "\\home\\user1",
-- USERPROFILE = "\\home\\user2",
HOMEDRIVE = "C:",
HOMEPATH = "\\Users\\user3",
HOMEPATH = "\\home\\user3",
}
assert.equal("C:\\home\\user3\\file", path.expanduser("~\\file"))
end)
Expand Down

0 comments on commit 1c03e4f

Please sign in to comment.