Improve error handling
Change-Id: If55488859011ac541412d1132d1f279e50178605
diff --git a/t/script/archive.t b/t/script/archive.t
index 598c8e5..93edc8d 100644
--- a/t/script/archive.t
+++ b/t/script/archive.t
@@ -170,9 +170,9 @@
# Test without compression
{
local $SIG{__WARN__} = sub {};
- my $out = stderr_from(sub { system($call); });
+ my $out = combined_from(sub { system($call); });
- like($out, qr!no working base tokenization!s, $call);
+ like($out, qr!No tokens found!s, $call);
};
my $input_quotes = catfile($f, '..', 'corpus', 'archive_quotes.zip');