From 5e091f56729ba3a55c7cbb3e418aeeb1986bb707 Mon Sep 17 00:00:00 2001 From: Michal Szelag Date: Tue, 9 Apr 2024 06:40:57 -0400 Subject: [PATCH] Updated unit tests --- tests/TestPBXGenericObject.py | 1 + 1 file changed, 1 insertion(+) 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"'