diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-16 16:59:46 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-16 19:18:38 -0400 |
commit | e1919fe5716d96be44afc32406d9504bc70403de (patch) | |
tree | 29f54ae96b56c959652a553d02564aa7979596b7 /t | |
parent | 5c682410ea8835ec717886fcb07690e2dbc5c42a (diff) | |
download | perl-e1919fe5716d96be44afc32406d9504bc70403de.tar.gz |
Do not test inf/nan if utterly broken.
(The test for the brokenness was ... broken.)
(I think FC pointed this out some weeks ago.)
Diffstat (limited to 't')
-rw-r--r-- | t/op/infnan.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/infnan.t b/t/op/infnan.t index 7c9dd3e140..b448c2c105 100644 --- a/t/op/infnan.t +++ b/t/op/infnan.t @@ -45,7 +45,7 @@ my $has_inf; my $has_nan; SKIP: { - if ($PInf == 1 && $NInf == 1) { + if ($PInf == 0 && $NInf == 0) { skip $inf_tests, "no infinity found"; } @@ -126,7 +126,7 @@ SKIP: { } SKIP: { - if ($NaN == 1) { + if ($NaN == 0) { skip $nan_tests, "no nan found"; } |