X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-simple.t;h=7921facab3a3af8047fc70761ab9298c84d96765;hb=54a1b1e4382ad55a54cbd874d6ffd87bf58dffbc;hp=854cddeb027279db285de89463a20398a109cfb4;hpb=ed119184e2325cba49804db12687cc7b2526b87c;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/10-simple.t b/t/10-simple.t index 854cdde..7921fac 100644 --- a/t/10-simple.t +++ b/t/10-simple.t @@ -72,5 +72,5 @@ is($@, '', 'cast from obsolete signature doesn\'t croak'); is($res, undef, 'cast from obsolete signature returns undef'); $res = eval { cast $c, undef }; -like($@, qr/Invalid\s+numeric\s+signature\s+at\s+\Q$0\E/, 'cast from undef croaks'); +like($@, qr/Invalid\s+wizard\s+object\s+at\s+\Q$0\E/, 'cast from undef croaks'); is($res, undef, 'cast from undef doesn\'t return anything');