diff options
author | michelou <michelou@epfl.ch> | 2004-03-15 17:41:09 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-03-15 17:41:09 +0000 |
commit | 10090487be6062efbe467dd434b232bb5e04f9a7 (patch) | |
tree | 13d7e9c9aac80776b339d7465b52c48a8e3c36b1 /test/files/run | |
parent | 82bd6e4326f7688d8e1e9551f452702449849ba5 (diff) | |
download | scala-10090487be6062efbe467dd434b232bb5e04f9a7.tar.gz scala-10090487be6062efbe467dd434b232bb5e04f9a7.tar.bz2 scala-10090487be6062efbe467dd434b232bb5e04f9a7.zip |
- updated tests with MIN_INT and MIN_LONG liter...
- updated tests with MIN_INT and MIN_LONG literals (was bug #300).
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/literals.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala index 58b1c78ded..a2ae74bc81 100644 --- a/test/files/run/literals.scala +++ b/test/files/run/literals.scala @@ -57,11 +57,11 @@ object Test { check_success("-0x0a == -10", -0x0a, -10); check_success("017777777777 == 2147483647", 017777777777, 2147483647); - check_success("020000000000 == -2147483648", 020000000000, -2147483647 -1); + check_success("020000000000 == -2147483648", 020000000000, -2147483648); check_success("037777777777 == -1", 037777777777, -1); check_success("0x7fffffff == 2147483647", 0x7fffffff, 2147483647); - check_success("0x80000000 == -2147483648", 0x80000000, -2147483647 -1); + check_success("0x80000000 == -2147483648", 0x80000000, -2147483648); check_success("0xffffffff == -1", 0xffffffff, -1); System.out.println(); @@ -74,14 +74,14 @@ object Test { check_success("0777777777777777777777L == 9223372036854775807L", 0777777777777777777777L, 9223372036854775807L); check_success("01000000000000000000000L == -9223372036854775808L", - 01000000000000000000000L, -9223372036854775807L -1L); + 01000000000000000000000L, -9223372036854775808L); check_success("01777777777777777777777L == -1L", 01777777777777777777777L, -1L); check_success("0x7fffffffffffffffL == 9223372036854775807L", 0x7fffffffffffffffL, 9223372036854775807L); check_success("0x8000000000000000L == -9223372036854775808L", - 0x8000000000000000L, -9223372036854775807L -1L); + 0x8000000000000000L, -9223372036854775808L); check_success("0xffffffffffffffffL == -1L", 0xffffffffffffffffL, -1L); |