diff options
author | Eric Wong <e@80x24.org> | 2023-11-13 13:15:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-13 21:55:01 +0000 |
commit | da87331b60ec182e939081eb16effa2b9aa8be3c (patch) | |
tree | 834f726b007391f26c7163cfd76bf1e86de7efe1 /t | |
parent | 2d3699d2ce8cbee21485c8b31b1f681d2bb5def5 (diff) | |
download | public-inbox-da87331b60ec182e939081eb16effa2b9aa8be3c.tar.gz |
None of our current code relies on it, and I can't imagine it's something we'd need in the future, actually... This keeps the door open for relying more on Spawn in TestCommon.
Diffstat (limited to 't')
-rw-r--r-- | t/spawn.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ require PublicInbox::DS; is($out, 'in', 'stdin read and stdout captured'); $opt->{0} = \"IN\n3\nLINES"; my @out = run_qx(['sh', '-c', 'echo E >&2; cat'], undef, $opt); - is($e, "e\nE\n", 'captured stderr appended to string'); + is($e, "E\n", 'captured stderr clobbers string'); is_deeply(\@out, [ "IN\n", "3\n", 'LINES' ], 'stdout array'); } |