mirror of
https://github.com/lightbend/config.git
synced 2025-01-24 19:30:06 +08:00
Fix warning about use of octal escape in string literal
This commit is contained in:
parent
c3325a8966
commit
53d642d93f
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user