diff --git a/tests/TestPBXGenericObject.py b/tests/TestPBXGenericObject.py index e2cfddb..ab0c3ed 100644 --- a/tests/TestPBXGenericObject.py +++ b/tests/TestPBXGenericObject.py @@ -27,6 +27,7 @@ def testParseKey(self): def testEscapeItem(self): assert PBXGenericObject._escape("/bin/sh") == "/bin/sh" + assert PBXGenericObject._escape("/bin/sh\n") == '"/bin/sh\\n"' assert PBXGenericObject._escape("abcdefghijklmnopqrstuvwyz0123456789") == \ "abcdefghijklmnopqrstuvwyz0123456789" assert PBXGenericObject._escape("some spaces") == '"some spaces"'