Fix a test bug where a value was being assigned to a reader and then checked for...
Shawn M Moore [Tue, 10 Jun 2008 03:07:33 +0000 (03:07 +0000)]
t/021-weak-ref.t

index 1121f49..bb3bf6f 100644 (file)
@@ -66,7 +66,7 @@ do {
     use Mouse;
 
     has hashref => (
-        is        => 'ro',
+        is        => 'rw',
         default   => sub { {} },
         weak_ref  => 1,
         predicate => 'has_hashref',