diff --git a/t/00_base/13_dancer_singleton.t b/t/00_base/13_dancer_singleton.t index df24d8fb0..4804a900f 100644 --- a/t/00_base/13_dancer_singleton.t +++ b/t/00_base/13_dancer_singleton.t @@ -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';