Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit e15aad1

Browse files
test: do not run path test under windows
1 parent 874e537 commit e15aad1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/model/CollieRepository.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { assertEquals, assertNotEquals } from "std/assert";
22
import { CollieRepository } from "./CollieRepository.ts";
3+
import { isWindows } from "../os.ts";
34

45
Deno.test("relativePath calculates paths relative to repository root", () => {
56
const sut = CollieRepository.uninitialized("/tmp/test");
@@ -19,5 +20,8 @@ Deno.test("resolvePath works", () => {
1920
const sut = CollieRepository.uninitialized("/tmp/test");
2021

2122
const result = sut.resolvePath("123");
22-
assertEquals(result, "/tmp/test/123");
23+
24+
if (!isWindows) {
25+
assertEquals(result, "/tmp/test/123");
26+
}
2327
});

0 commit comments

Comments
 (0)