"type" sugar for when you're not subtyping anything
[gitmo/Mouse.git] / t / 033-readwrite.t
index 78f45f8..ff4b74b 100644 (file)
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 use Test::More tests => 4;
-use Mouse::Util ':test';
+use Test::Exception;
 
 do {
     package Class;
@@ -11,6 +11,7 @@ do {
     # We want this attr to have a reader and writer with unconventional names,
     # and not the default rw_attr method. -- rjbs, 2008-12-04
     has 'rw_attr' => (
+        is     => 'rw',
         reader => 'read_attr',
         writer => 'write_attr',
     );;