X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F026-auto-deref.t;h=d4b1df512bbc8c0872878fef131ddde824bc31b0;hb=97661b774fd00a06d0eecdc17af4c6ca9ff0bee1;hp=b9a4971c6ae86939720ffe120bda4d028c7822a2;hpb=84357c9a1f427aafbc648fd4aa25b1b863823afd;p=gitmo%2FMouse.git diff --git a/t/026-auto-deref.t b/t/026-auto-deref.t index b9a4971..d4b1df5 100644 --- a/t/026-auto-deref.t +++ b/t/026-auto-deref.t @@ -25,7 +25,7 @@ do { is => 'rw', auto_deref => 1, ); - } qr/You cannot auto-dereference without specifying a type constraint on attribute any/; + } qr/You cannot auto-dereference without specifying a type constraint on attribute \(any\)/; ::throws_ok { has scalar => ( @@ -33,7 +33,7 @@ do { isa => 'Value', auto_deref => 1, ); - } qr/You cannot auto-dereference anything other than a ArrayRef or HashRef on attribute scalar/; + } qr/You cannot auto-dereference anything other than a ArrayRef or HashRef on attribute \(scalar\)/; }; my $obj;