mirror of
https://github.com/garrytan/gstack.git
synced 2026-08-31 10:20:42 +02:00
fix(test): runBin trim assertion — trim shapes stream ends, not interior
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
d87e73fa55
commit
74ae357e0f
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user