Skip to content

Commit 90a72f0

Browse files
committed
add $ to test case on a segment with no corresponding env var
1 parent ed80631 commit 90a72f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/diffview/tests/functional/pathlib_spec.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ describe("diffview.path", function()
248248
local pl = PathLib({ os = "unix" })
249249

250250
eq("/lorem/ipsum/dolor/foo", pl:expand("~/foo"))
251-
eq("foo/EXPANDED_FOO/EXPANDED_BAR/baz", pl:expand("foo/$VAR_FOO/$VAR_BAR/baz"))
251+
eq("foo/EXPANDED_FOO/EXPANDED_BAR/$baz", pl:expand("foo/$VAR_FOO/$VAR_BAR/$baz"))
252252
end)
253253
end)
254254

0 commit comments

Comments
 (0)