X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F28-uvar.t;h=4800c44bbc0c1c8baf5161eb88cc213bc455ba79;hb=c471e8c9f86ad8817761816101358f8ae1035915;hp=7fa30b124301accd0f9a1cf13f5d05e7d5de7ba4;hpb=91aec4cfae75e61ff8eeb79448501a8739b0d240;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/28-uvar.t b/t/28-uvar.t index 7fa30b1..4800c44 100644 --- a/t/28-uvar.t +++ b/t/28-uvar.t @@ -75,12 +75,12 @@ eval { local $SIG{__WARN__} = sub { die }; $x = $h2{a}; }; -ok(!$@, 'uvar : fetch with incomplete magic'); +is($@, '', 'uvar : fetch with incomplete magic'); is($x, 37, 'uvar : fetch with incomplete magic correctly'); eval { local $SIG{__WARN__} = sub { die }; $h2{a} = 73; }; -ok(!$@, 'uvar : store with incomplete magic'); +is($@, '', 'uvar : store with incomplete magic'); is($h2{a}, 73, 'uvar : store with incomplete magic correctly');