]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/10-simple.t
Factor signature/wizard checks into proper functions. 'cast , undef' now throws an...
[perl/modules/Variable-Magic.git] / t / 10-simple.t
index 854cddeb027279db285de89463a20398a109cfb4..7921facab3a3af8047fc70761ab9298c84d96765 100644 (file)
@@ -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');