Skip to content

Commit

Permalink
Fix black Win32 smoke broken by my v5.21.1-11-g4077a6b (again)
Browse files Browse the repository at this point in the history
Fix a silly bug in v5.21.1-12-g826af13, when $Q was false I added 12
extra test, but didn't declare them, do that.
  • Loading branch information
Ævar Arnfjörð Bjarmason committed Jun 21, 2014
1 parent 826af13 commit 43d7f0d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions t/op/sprintf2.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ BEGIN {
require './test.pl';
}

plan tests => 1406;
# We'll run 12 extra tests (see below) if $Q is false.
eval { my $q = pack "q", 0 };
my $Q = $@ eq '';

plan tests => 1406 + ($Q ? 0 : 12);

use strict;
use Config;
Expand Down Expand Up @@ -282,9 +286,6 @@ foreach my $n (2**1e100, -2**1e100, 2**1e100/2**1e100) { # +Inf, -Inf, NaN
}

# test %ll formats with and without HAS_QUAD
eval { my $q = pack "q", 0 };
my $Q = $@ eq '';

my @tests = (
[ '%lld' => [qw( 4294967296 -100000000000000 )] ],
[ '%lli' => [qw( 4294967296 -100000000000000 )] ],
Expand Down

0 comments on commit 43d7f0d

Please sign in to comment.