X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F21-array.t;h=eeb88117ae16a241099879b2924e4ca31a8553c4;hb=73280498f45aec1d15e1e9d67eb441e10c9a49a5;hp=bf843d6e3f02b645bafa2b7c13b429b99354d8ad;hpb=4ccff394a949fe8d99359c5ea6d154f85191f731;p=perl%2Fmodules%2Fautovivification.git diff --git a/t/21-array.t b/t/21-array.t index bf843d6..eeb8811 100644 --- a/t/21-array.t +++ b/t/21-array.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 6 * 3 * 270; +use Test::More tests => 6 * 3 * 274; use lib 't/lib'; use autovivification::TestCases; @@ -25,6 +25,11 @@ $x # $x->[0] # '', undef, [ ] # +exists $x # $x->[0] # '', undef, [ ] # +delete $x # $x->[0] # '', undef, [ ] # +store +$x # $x->[0] # '', undef, [ ] # -fetch +$x # $x->[0] # '', undef, [ ] # +fetch -fetch +$x # $x->[0] # '', undef, undef # -fetch +fetch +$x # $x->[0] # '', undef, undef # +fetch -exists + $x # $x->[0] # qr/^Reference vivification forbidden/, undef, undef # +strict +fetch $x # $x->[0] # '', undef, [ ] # +strict +exists $x # $x->[0] # '', undef, [ ] # +strict +delete