Skip to content

Commit

Permalink
better user agent exception tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 20, 2013
1 parent 2a3b3a4 commit 9a2e849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.19 2013-07-16
4.19 2013-07-20

4.18 2013-07-08
- Added --mode option to Morbo.
Expand Down
2 changes: 2 additions & 0 deletions t/mojo/user_agent.t
Expand Up @@ -145,6 +145,8 @@ $ua->get(
Mojo::IOLoop->stop;
}
);
eval { $ua->get('/') };
like $@, qr/^Non-blocking requests in progress/, 'right error';
Mojo::IOLoop->start;
ok $success, 'successful';
is $code, 200, 'right status';
Expand Down

0 comments on commit 9a2e849

Please sign in to comment.