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'); });