From: Shawn M Moore Date: Tue, 10 Jun 2008 03:07:33 +0000 (+0000) Subject: Fix a test bug where a value was being assigned to a reader and then checked for... X-Git-Tag: 0.04~62 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6ac69d42c5750e8ccb529b8bb4f05307d940df2;hp=4eb1339a32ef811a7f9a8045261113588565162b;p=gitmo%2FMouse.git Fix a test bug where a value was being assigned to a reader and then checked for undef :) --- diff --git a/t/021-weak-ref.t b/t/021-weak-ref.t index 1121f49..bb3bf6f 100644 --- a/t/021-weak-ref.t +++ b/t/021-weak-ref.t @@ -66,7 +66,7 @@ do { use Mouse; has hashref => ( - is => 'ro', + is => 'rw', default => sub { {} }, weak_ref => 1, predicate => 'has_hashref',