Skip to content

Commit

Permalink
test: windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrey committed Mar 23, 2024
1 parent c322623 commit 062068b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Deno.test("toFileURL works", () => {
cwd = `/${cwd}`;

assertEquals(toFileURL("/a/b/c"), "file:///D:/a/b/c");
assertEquals(toFileURL("./d/e/f"), `file:///D:${cwd}D:/d/e/f`);
assertEquals(toFileURL("./d/e/f"), `file:///D:${cwd}/d/e/f`);
assertEquals(toFileURL("../d/e/f"), `file:///${toPosix($.path(cwd).join("..").toString())}/d/e/f`);
assertEquals(toFileURL("file://./abc.ts"), `file:///D:${cwd}/abc.ts`);
assertEquals(toFileURL("http://./def.ts"), `file:///D:${cwd}/def.ts`);
Expand Down

0 comments on commit 062068b

Please sign in to comment.