X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F13-data.t;fp=t%2F13-data.t;h=94e73e59bd49f5c2dfb7db734faaba24b155e999;hb=ed119184e2325cba49804db12687cc7b2526b87c;hp=d1dc440200c0dd2a38cb72414ecd2ed6fac8ea9b;hpb=183aa12b28323a21ae3b94c30cb4021ba3e8d664;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/13-data.t b/t/13-data.t index d1dc440..94e73e5 100644 --- a/t/13-data.t +++ b/t/13-data.t @@ -54,7 +54,7 @@ is($@, '', 'getdata from invalid sig doesn\'t croak'); is($data, undef, 'getdata from invalid sig returns undef'); $data = eval { getdata $a, undef }; -like($@, qr/Invalid\s+wizard\s+object/, 'getdata from undef croaks'); +like($@, qr/Invalid\s+wizard\s+object\s+at\s+\Q$0\E/, 'getdata from undef croaks'); is($data, undef, 'getdata from undef doesn\'t return anything'); $res = eval { dispell $a, $wiz };