summaryrefslogtreecommitdiff
path: root/test/files/run/literals.check
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-11-28 10:28:34 +0000
committermichelou <michelou@epfl.ch>2005-11-28 10:28:34 +0000
commit6beb9d699f26f242092c84e4018ed2140183c0af (patch)
tree3255df557b86b1f586adfc7c1db19ce4f3a34904 /test/files/run/literals.check
parente99a5c79c4423075371953ce4a6c332f6049c251 (diff)
downloadscala-6beb9d699f26f242092c84e4018ed2140183c0af.tar.gz
scala-6beb9d699f26f242092c84e4018ed2140183c0af.tar.bz2
scala-6beb9d699f26f242092c84e4018ed2140183c0af.zip
- added tests for octal chars
Diffstat (limited to 'test/files/run/literals.check')
-rw-r--r--test/files/run/literals.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/literals.check b/test/files/run/literals.check
index fc495283f4..5e336089fa 100644
--- a/test/files/run/literals.check
+++ b/test/files/run/literals.check
@@ -1,6 +1,8 @@
test '\u0024' == '$' was successful
test '\u005f' == '_' was successful
test 65.asInstanceOf[char] == 'A' was successful
+test "\141\142" == "ab" was successful
+test "\0x61\0x62".trim() == "x61\0x62" was successful
test 01 == 1 was successful
test 010 == 8 was successful