about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-13 13:15:42 +0000
committerEric Wong <e@80x24.org>2023-11-13 21:55:01 +0000
commitda87331b60ec182e939081eb16effa2b9aa8be3c (patch)
tree834f726b007391f26c7163cfd76bf1e86de7efe1 /t
parent2d3699d2ce8cbee21485c8b31b1f681d2bb5def5 (diff)
downloadpublic-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.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/spawn.t b/t/spawn.t
index 3479b6b3..48f541b8 100644
--- a/t/spawn.t
+++ b/t/spawn.t
@@ -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');
 }