Support before and after triggers in the constructor
[gitmo/Mouse.git] / t / 016-trigger.t
index 2a4dc94..99bf942 100644 (file)
@@ -31,7 +31,7 @@ do {
             is => 'ro',
             trigger => [],
         );
-    } qr/Trigger must be a CODE ref on attribute \(error\)/;
+    } qr/Trigger must be a CODE or HASH ref on attribute \(error\)/;
 };
 
 can_ok(Class => 'attr');