summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/literals.scala8
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);