Skip to content

Commit

Permalink
fix test accordingly (regarding croak messages fixes in the commit be…
Browse files Browse the repository at this point in the history
…fore)
  • Loading branch information
Alexis Sukrieh committed Dec 22, 2010
1 parent 0697198 commit 4c88a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/00_base/13_dancer_singleton.t
Expand Up @@ -21,10 +21,10 @@ my $test_counter = 0;
}

eval { MySingleton->new() };
like $@, qr/you can call 'new'/, 'new unauthorized';
like $@, qr/you can't call 'new'/, 'new unauthorized';

eval { MySingleton->clone() };
like $@, qr/you can call 'clone'/, 'clone unauthorized';
like $@, qr/you can't call 'clone'/, 'clone unauthorized';

can_ok 'MySingleton', 'foo';

Expand Down

0 comments on commit 4c88a71

Please sign in to comment.