From 53d642d93f9a47b8c453f90e3da1e85e95930933 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 27 Dec 2014 16:06:40 -0500 Subject: [PATCH] Fix warning about use of octal escape in string literal --- .../src/test/scala/com/typesafe/config/impl/TokenizerTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala b/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala index f7da4233..882f0cb4 100644 --- a/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala +++ b/config/src/test/scala/com/typesafe/config/impl/TokenizerTest.scala @@ -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"))