Skip to content

Commit a4f2982

Browse files
committed
test: fix test
1 parent e360195 commit a4f2982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/convert.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe("Convert", () => {
6666

6767
it("decodes Windows drive specifiers", () => {
6868
setProcessPlatform("win32")
69-
expect(Convert.uriToPath("file:///d:/ee/ff.txt")).equals("d:\\ee\\ff.txt")
69+
expect(Convert.uriToPath("file:///d:/ee/ff.txt").toLowerCase()).equals("d:\\ee\\ff.txt")
7070
})
7171

7272
it("URI decodes special characters", () => {
@@ -81,7 +81,7 @@ describe("Convert", () => {
8181

8282
it("parses URI without double slash in the beginning on Windows", () => {
8383
setProcessPlatform("win32")
84-
expect(Convert.uriToPath("file:/x:/a/b/c/d.txt")).equals("x:\\a\\b\\c\\d.txt")
84+
expect(Convert.uriToPath("file:/x:/a/b/c/d.txt").toLowerCase()).equals("x:\\a\\b\\c\\d.txt")
8585
})
8686
})
8787

0 commit comments

Comments
 (0)