projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix tests for Squirrel::Role
[gitmo/Mouse.git]
/
t
/
016-trigger.t
diff --git
a/t/016-trigger.t
b/t/016-trigger.t
index
9ce32b8
..
d316599
100644
(file)
--- a/
t/016-trigger.t
+++ b/
t/016-trigger.t
@@
-19,12
+19,12
@@
do {
},
);
- ::throws_ok {
+ ::lives_ok {
has error => (
is => 'ro',
trigger => sub { },
);
- } qr/Trigger is not allowed on read-only attribute 'error'/;
+ } "it's no longer an error to have trigger on a readonly attribute";
};
can_ok(Class => 'attr');