From c2702a54c73eccf5e425e5c8106a8a375cbf1eed Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 24 Jan 2026 23:57:13 -0800 Subject: [PATCH] Test carriage returns --- main_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.ts b/main_test.ts index ba02303..b8d4f05 100644 --- a/main_test.ts +++ b/main_test.ts @@ -14,7 +14,7 @@ Deno.test("parseInput throws on null", () => { Deno.test("parseInput collapses whitespace correctly", () => { const words = parseInput( - " \n\ntest \n\ntest test test test test\ntest\n \n\ntest \n\n", + " \n\ntest \r\n\r\ntest test test test test\ntest\n \n\ntest \n\r\n\r", ); assertEquals(words.length, 8); }); -- 2.47.3