diff options
Diffstat (limited to 't/op/64bit.t')
-rw-r--r-- | t/op/64bit.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/op/64bit.t b/t/op/64bit.t index 09419f8790..f7103af73e 100644 --- a/t/op/64bit.t +++ b/t/op/64bit.t @@ -145,27 +145,27 @@ print "ok 26\n"; $a = 9223372036854775807; $c = ++$a; -print "not " unless $a == 9223372036854775808; +print "not " unless $a == 9223372036854775808 && $c == $a; print "ok 27\n"; $a = 9223372036854775807; $c = $a + 1; -print "not " unless $a == 9223372036854775808; +print "not " unless $a == 9223372036854775807 && $c == 9223372036854775808; print "ok 28\n"; $a = -9223372036854775808; $c = $a--; -print "not " unless $a == -9223372036854775809; +print "not " unless $a == -9223372036854775809 && $c == -9223372036854775808; print "ok 29\n"; $a = -9223372036854775808; $c = --$a; -print "not " unless $a == -9223372036854775809; +print "not " unless $a == -9223372036854775809 && $c == $a; print "ok 30\n"; $a = -9223372036854775808; $c = $a - 1; -print "not " unless $a == -9223372036854775809; +print "not " unless $a == -9223372036854775808 && $c == -9223372036854775809; print "ok 31\n"; |