Navigation Menu

Skip to content

Commit

Permalink
better diagnostics example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 3, 2014
1 parent 4e21bba commit 65db1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -426,7 +426,7 @@ True if the last test was successful.
$t->get_ok('/')
->status_is(302)
->$location_is('http://mojolicio.us')
->or(sub { note shift->tx->res->headers->location });
->or(sub { diag 'Must have been Joel!' });
=head2 tx
Expand Down

0 comments on commit 65db1ef

Please sign in to comment.