diff --git a/src/util.test.ts b/src/util.test.ts index 9ec532f..1c53d90 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -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`);