X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F25-copy.t;h=a18022f057488ca669b7375f790fe95387dc2bcd;hb=3bc98bdbdb230943e7fb3135e325f10013acac2d;hp=0630ae33502d7c659616d1df4de0b9bebb809d9f;hpb=159e8ad7c747edb4a25db2f2673bbe143531f347;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/25-copy.t b/t/25-copy.t index 0630ae3..a18022f 100644 --- a/t/25-copy.t +++ b/t/25-copy.t @@ -5,7 +5,7 @@ use warnings; use Test::More; -use Variable::Magic qw/cast dispell MGf_COPY/; +use Variable::Magic qw; if (MGf_COPY) { plan tests => 2 + ((2 * 5 + 3) + (2 * 2 + 1)) + (2 * 9 + 6) + 1; @@ -79,7 +79,7 @@ SKIP: { watch { my ($k, $v) = each %h } { copy => 1 }, 'tied hash each'; my @k = watch { keys %h } { }, 'tied hash keys'; - is_deeply [ sort @k ], [ qw/a c/ ], 'copy: tied hash keys correctly'; + is_deeply [ sort @k ], [ qw ], 'copy: tied hash keys correctly'; my @v = watch { values %h } { copy => 2 }, 'tied hash values'; is_deeply [ sort { $a <=> $b } @v ], [ 1, 3 ], 'copy: tied hash values correctly';