Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test exact error message
  • Loading branch information
kraih committed Apr 12, 2014
1 parent c93daac commit d5a08aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojolicious/exception_lite_app.t
Expand Up @@ -166,7 +166,7 @@ like $log, qr/dead template with layout!/, 'right result';
$t->get_ok('/dead_action')->status_is(500)
->content_type_is('text/html;charset=UTF-8')
->content_like(qr!get '/dead_action'!)
->content_like(qr/dead action!/);
->content_like(qr/dead action!/)->text_is('#error' => "dead action!\n");
like $log, qr/dead action!/, 'right result';

# Dead action with different format
Expand Down

0 comments on commit d5a08aa

Please sign in to comment.