diagnostic for IO loop used during testing.

This commit is contained in:
Graham Ollis
2013-02-20 13:41:16 -05:00
parent 02fce2bfdd
commit 9217818ad2
2 changed files with 12 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
Revision history for Mojolicious::Plugin::TtRenderer
{{$NEXT}}
- Added diagnostic for IO loop implementation in testing
1.39 January 28, 2013
- Documentation updates.

11
t/01-ioloop.t Normal file
View File

@@ -0,0 +1,11 @@
use strict;
use warnings;
use Test::More tests => 1;
use Mojo::IOLoop;
my $loop = eval { Mojo::IOLoop->singleton };
diag $@ if $@;
ok $loop;
diag ref eval { $loop->reactor };
diag $@ if $@;