release 0.07
[gitmo/MooseX-AlwaysCoerce.git] / t / 01-basic.t
index 3d2e365..f6d017f 100644 (file)
@@ -2,8 +2,9 @@
 use strict;
 use warnings;
 
-use Test::More tests => 7;
+use Test::More tests => 8;
 use Test::Exception;
+use Test::NoWarnings;
 
 {
     package MyClass;
@@ -27,6 +28,8 @@ use Test::Exception;
     has uncoerced_attr => (is => 'rw', isa => 'Uncoerced');
 
     class_has uncoerced_class_attr => (is => 'rw', isa => 'Uncoerced');
+
+    class_has untyped_class_attr => (is => 'rw');
 }
 
 ok( (my $instance = MyClass->new), 'instance' );