diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-01-27 16:40:07 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-01-27 16:40:07 +0000 |
commit | efb78d13e88f09e1c42f464b0f2a4b96748960bb (patch) | |
tree | b4a3a90a7d7f08c9b3d99db7b531ee9798e6caf6 /t | |
parent | 9391b0491eb8cee9c5b1b53af5802bc61343d513 (diff) | |
download | perl-efb78d13e88f09e1c42f464b0f2a4b96748960bb.tar.gz |
Oops. Was forgetting to test n! N! v! V! in pack
p4raw-id: //depot/perl@23888
Diffstat (limited to 't')
-rwxr-xr-x | t/op/pack.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/op/pack.t b/t/op/pack.t index df34c394c2..102a0ce360 100755 --- a/t/op/pack.t +++ b/t/op/pack.t @@ -12,7 +12,7 @@ my $no_endianness = $] > 5.009 ? '' : my $no_signedness = $] > 5.009 ? '' : "Signed/unsigned pack modifiers not available on this perl"; -plan tests => 13823; +plan tests => 13855; use strict; use warnings; @@ -228,8 +228,9 @@ sub list_eq ($$) { # expect it for this perl. my $can_endian = $no_endianness ? '' : 'sSiIlLqQjJfFdDpP'; my $can_shriek = 'sSiIlL'; + $can_shriek .= 'nNvV' unless $no_signedness; # h and H can't do either, so act as sanity checks in blead - foreach my $base (split '', 'sSiIlLqQjJfFdDpPhH') { + foreach my $base (split '', 'hHsSiIlLqQjJfFdDpPnNvV') { foreach my $mod ('', '<', '>', '!', '<!', '>!', '!<', '!>') { SKIP: { # Avoid void context warnings. @@ -271,7 +272,6 @@ sub list_eq ($$) { } } - $can_shriek .= 'nNvV' unless $no_signedness; SKIP: { skip $no_endianness, 2*3 + 2*8 if $no_endianness; for my $mod (qw( ! < > )) { |