summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-09-02 23:00:14 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-02 23:00:14 +0000
commit1eb770ff12717abcb232d974ac25ca599a5d2987 (patch)
tree7f8e8c4456cfb40395636ab9e0540b086f48ca8f /t
parent53326d4cb95b0a426abad58608c3cd209994a30e (diff)
downloadperl-1eb770ff12717abcb232d974ac25ca599a5d2987.tar.gz
perl 5.003_05: t/op/inc.t util.c
One last LONG & co. fix (yet another cut'n'paste error) and a few minor cleanups. Nothing crucial.
Diffstat (limited to 't')
-rwxr-xr-xt/op/inc.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/op/inc.t b/t/op/inc.t
index aee91f798b..e5a2a921b3 100755
--- a/t/op/inc.t
+++ b/t/op/inc.t
@@ -6,11 +6,11 @@
print "1..6\n";
# Verify that addition/subtraction properly upgrade to doubles.
-# These tests are only useful on machines with 32 bit longs,
-# and one's complement negation, but shouldn't fail anywhere.
+# These tests are only significant on machines with 32 bit longs,
+# and two's complement negation, but shouldn't fail anywhere.
$a = 2147483647;
-$a++;
+$c=$a++;
if ($a == 2147483648)
{print "ok 1\n"}
else