about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-27 03:30:30 +0000
committerEric Wong <e@80x24.org>2019-01-27 03:30:30 +0000
commitcee59522e00810f508aabce5a46e63bddcc203cc (patch)
tree9557638024ef85af670f0b9643126a7b683f7a17 /t
parent84d1e7fdf92e2658cf539e35ce779638e2f10670 (diff)
downloadpublic-inbox-cee59522e00810f508aabce5a46e63bddcc203cc.tar.gz
The raw value of $? isn't very useful, generally.
Diffstat (limited to 't')
-rw-r--r--t/qspawn.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/qspawn.t b/t/qspawn.t
index 745ec4d8..ab6e3758 100644
--- a/t/qspawn.t
+++ b/t/qspawn.t
@@ -31,7 +31,7 @@ my $limiter = PublicInbox::Qspawn::Limiter->new(1);
                 my ($rpipe) = @_;
                 is(0, sysread($rpipe, my $buf, 1), 'read zero bytes from false');
                 my $err = $x->finish;
-                is($err, 256, 'error on finish');
+                ok($err, 'error on finish');
                 $run = 1;
         });
         is($run, 1, 'callback ran alright');