From 74ae357e0fed20ef23d0b3259f92ac9710684cfa Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sat, 29 Aug 2026 05:12:28 +0000 Subject: [PATCH] =?UTF-8?q?fix(test):=20runBin=20trim=20assertion=20?= =?UTF-8?q?=E2=80=94=20trim=20shapes=20stream=20ends,=20not=20interior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- test/helpers/run-bin.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/helpers/run-bin.test.ts b/test/helpers/run-bin.test.ts index 9f8e79486..3def9a1d5 100644 --- a/test/helpers/run-bin.test.ts +++ b/test/helpers/run-bin.test.ts @@ -27,7 +27,8 @@ describe('runBin', () => { input: 'piped|', trim: true, }); - expect(r.stdout).toBe('piped|padded'); + // trim shapes the ENDS of the whole stream; interior whitespace stays. + expect(r.stdout).toBe('piped| padded'); expect(r.stderr).toBe('noLANG'); });