diff --git a/src/test/java/com/dd/plist/test/DeSerializationTest.java b/src/test/java/com/dd/plist/test/DeSerializationTest.java index f9912b5..567d447 100644 --- a/src/test/java/com/dd/plist/test/DeSerializationTest.java +++ b/src/test/java/com/dd/plist/test/DeSerializationTest.java @@ -335,6 +335,7 @@ public void testParseSpecialCharacters() throws Exception { "c = \"xyz\\b\";\n" + "d = \"\\tasdf\";\n" + "e = \"\\\\ \\\"\";\n" + + "f = \"a \\' b\";\n" + "}"; NSDictionary dict = (NSDictionary)ASCIIPropertyListParser.parse(asciiPropertyList.getBytes(Charset.forName("UTF-8"))); assertEquals("abc \n def", dict.get("a").toString()); @@ -342,5 +343,6 @@ public void testParseSpecialCharacters() throws Exception { assertEquals("xyz\b", dict.get("c").toString()); assertEquals("\tasdf", dict.get("d").toString()); assertEquals("\\ \"", dict.get("e").toString()); + assertEquals("a ' b", dict.get("f").toString()); } }