From 7ae882ae91de3f0280909bc40e7298a0a6c32857 Mon Sep 17 00:00:00 2001 From: Daniel Smolsky Date: Fri, 6 Nov 2026 17:53:50 -0500 Subject: [PATCH] test(core): build the Latin-1 fixture from a string --- packages/core/test/ripgrep.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/test/ripgrep.test.ts b/packages/core/test/ripgrep.test.ts index 8540483f3f5..dadc95d275b 100644 --- a/packages/core/test/ripgrep.test.ts +++ b/packages/core/test/ripgrep.test.ts @@ -83,7 +83,7 @@ describe("Ripgrep", () => { Effect.gen(function* () { yield* Effect.promise(() => fs.writeFile(path.join(tmp.path, "utf8.txt"), "needle\n")) yield* Effect.promise(() => - fs.writeFile(path.join(tmp.path, "latin1.txt"), Buffer.from([...Buffer.from("needle caf"), 0xe9, 0x0a])), + fs.writeFile(path.join(tmp.path, "latin1.txt"), Buffer.from("needle café\n", "latin1")), ) const ripgrep = yield* Ripgrep.Service