Skip to content

Commit

Permalink
relax test regex
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiroy committed Apr 20, 2018
1 parent 2a97196 commit 78dc908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xt/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ while(<$fh>) { push @lines, $_; }

like $lines[0], qr/Failed\sto\srun/, 'failed to run message';
like $lines[1], qr/FAIL\sFailed\sto\srun/, 'failed to run message';
like $lines[2], qr/^sh:\snot\-a\-command/, 'failed through shell';
like $lines[2], qr/^sh:.*not\-a\-command/, 'failed through shell';
like $lines[3], qr/^hello\sworld/, 'success';
like $lines[4], qr/^hello\sworld/, 'success';

Expand Down

0 comments on commit 78dc908

Please sign in to comment.