Fix warning about use of octal escape in string literal

This commit is contained in:
Havoc Pennington 2014-12-27 16:06:40 -05:00
parent c3325a8966
commit 53d642d93f

View File

@ -145,7 +145,7 @@ class TokenizerTest extends TestUtils {
assertEquals('6', "\\u0046"(5))
val tests = List[UnescapeTest]((""" "" """, ""),
(" \"\\u0000\" ", "\0"), // nul byte
(" \"\\u0000\" ", Character.toString(0)), // nul byte
(""" "\"\\\/\b\f\n\r\t" """, "\"\\/\b\f\n\r\t"),
("\"\\u0046\"", "F"),
("\"\\u0046\\u0046\"", "FF"))