diff --git a/tests/pbxsections/TestXCLocalSwiftPackageReference.py b/tests/pbxsections/TestXCLocalSwiftPackageReference.py new file mode 100644 index 0000000..c9eeb8c --- /dev/null +++ b/tests/pbxsections/TestXCLocalSwiftPackageReference.py @@ -0,0 +1,8 @@ +import unittest +from pbxproj.pbxsections.XCLocalSwiftPackageReference import * + + +class TestXCLocalSwiftPackageReference(unittest.TestCase): + def testGetComment(self): + obj = XCLocalSwiftPackageReference.create('MyPackage') + assert obj._get_comment() == 'XCLocalSwiftPackageReference "MyPackage"'