Skip to content

Commit

Permalink
Use like() for better diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Jul 30, 2014
1 parent dfc9452 commit 25fe09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/plack/mcless.t
Expand Up @@ -71,6 +71,6 @@ eval {
};
};
my $error = $@;
ok $error =~ /ParseError/, 'Error ok';
like $error, qr/ParseError/, 'Error ok';

done_testing;

0 comments on commit 25fe09d

Please sign in to comment.