Support is => 'bare' for compatibility
[gitmo/Mouse.git] / t / 007-attributes.t
index 869ed33..fdb3ed3 100644 (file)
@@ -2,13 +2,15 @@
 use strict;
 use warnings;
 use Test::More tests => 10;
-use Mouse::Util ':test';
+use Test::Exception;
 
 do {
     package Class;
     use Mouse;
 
-    has 'x';
+    has 'x' => (
+        is => 'bare',
+    );
 
     has 'y' => (
         is => 'ro',