diff options
Diffstat (limited to 't')
-rw-r--r-- | t/op/tie_fetch_count.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/tie_fetch_count.t b/t/op/tie_fetch_count.t index b0c1dd4c17..69d4619679 100644 --- a/t/op/tie_fetch_count.t +++ b/t/op/tie_fetch_count.t @@ -7,7 +7,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require './test.pl'; - plan (tests => 208); + plan (tests => 209); } use strict; @@ -162,6 +162,7 @@ tie my $var1 => 'main', \1; $dummy = $$var1 ; check_count '${}'; tie my $var2 => 'main', []; $dummy = @$var2 ; check_count '@{}'; +$dummy = shift $var2 ; check_count 'shift arrayref'; tie my $var3 => 'main', {}; $dummy = %$var3 ; check_count '%{}'; { |