Skip to content

Commit 2dfd8cb

Browse files
committed
test: skip newline path fixture on Windows
1 parent a82e662 commit 2dfd8cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/scripts/check-max-lines-ratchet.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe("check-max-lines-ratchet", () => {
174174
expect(main(root, ["--staged", "--base", "HEAD"])).toBe(1);
175175
});
176176

177-
it("keeps staged filenames NUL-framed", () => {
177+
it.skipIf(process.platform === "win32")("keeps staged filenames NUL-framed", () => {
178178
const root = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-max-lines-nul-"));
179179
tempDirs.push(root);
180180
fs.mkdirSync(path.join(root, "src"), { recursive: true });

0 commit comments

Comments
 (0)