]> git.ardis.lu - seed-phrase-transposer/commitdiff
Test carriage returns
authorArdis Lu <ardisglu@gmail.com>
Sun, 25 Jan 2026 07:57:13 +0000 (23:57 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 25 Jan 2026 07:57:13 +0000 (23:57 -0800)
main_test.ts

index ba02303657b78a0aa778f80867f3135dbd95065c..b8d4f0571d0fa9410a2ab1ca2f8b4b46ac94cbd1 100644 (file)
@@ -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);
 });
This page took 0.037194 seconds and 4 git commands to generate.