X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faccessors_ro.t;h=ca372a63c228a1e0adf9384baddd376fbb7fd0aa;hb=da609a465417b66a52918e7e2be3c38309bdc21f;hp=7b385a2b19f569cfe8e5fa418c4f2a59531be651;hpb=4d70ba11c00e532cd69f2f044f8e27abae0ccd0b;p=p5sagit%2FClass-Accessor-Grouped.git diff --git a/t/accessors_ro.t b/t/accessors_ro.t index 7b385a2..ca372a6 100644 --- a/t/accessors_ro.t +++ b/t/accessors_ro.t @@ -80,7 +80,7 @@ for my $name (sort keys %$test_accessors) { my $ro_regex = $test_accessors->{$name}{is_xs} ? qr/Usage\:.+$name.*\(self\)/ - : qr/cannot alter the value of '\Q$field\E'/ + : qr/$name(:?_accessor)?\Q' cannot alter its value (read-only attribute of class AccessorGroupsRO)/ ; {