SKIP test case "Class::Method::Modifiers required for this test"
[gitmo/Mouse.git] / t / 029-new.t
index 9ad1721..c35ce6c 100644 (file)
@@ -1,8 +1,8 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More tests => 4;
-use Test::Exception;
+use Test::More tests => 5;
+use t::Exception;
 
 do {
     package Class;
@@ -28,3 +28,7 @@ throws_ok {
     Class->new('non-hashref scalar');
 } qr/Single parameters to new\(\) must be a HASH ref/;
 
+lives_ok {
+    Class->new(undef);
+} "Class->new(undef) specifically doesn't throw an error. weird"
+