Skip to content

Commit

Permalink
fixed message_ok example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 15, 2013
1 parent 0ee981b commit da9c22a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.81 2013-01-16
- Improved documentation.

3.80 2013-01-15
- Deprecated testing WebSocket messages without calling
Test::Mojo->message_ok.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -40,7 +40,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.80';
our $VERSION = '3.81';

sub AUTOLOAD {
my $self = shift;
Expand Down
3 changes: 2 additions & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -730,7 +730,8 @@ Wait for next WebSocket message to arrive.
$t->websocket_ok('/time')
->message_ok
->message_like(qr/\d+/)
->message_unlike(qr/\w+/);
->message_unlike(qr/\w+/)
->finish_ok;
=head2 message_unlike
Expand Down

0 comments on commit da9c22a

Please sign in to comment.