diff --git a/Tests/Objective-J/CFPropertyListTest.j b/Tests/Objective-J/CFPropertyListTest.j index 780da024f..cadd255eb 100644 --- a/Tests/Objective-J/CFPropertyListTest.j +++ b/Tests/Objective-J/CFPropertyListTest.j @@ -28,23 +28,17 @@ var fs = require("fs"), } - (void)testPropertyListFromXMLShouldHandleEmptyXMLGracefully { - // rhino can't parse empty XML documents - if (system.engine !== "rhino") { - var XML = "", - object = CFPropertyList.propertyListFromXML(XML); - - [self assert:object equals:null]; - } + var XML = "", + object = CFPropertyList.propertyListFromXML(XML); + + [self assert:object equals:null]; } - (void)testPropertyListFromXMLShouldHandleEmptierXMLGracefully { - // rhino can't parse empty XML documents - if (system.engine !== "rhino") { - var XML = "", - object = CFPropertyList.propertyListFromXML(XML); - - [self assert:object equals:null]; - } + var XML = "", + object = CFPropertyList.propertyListFromXML(XML); + + [self assert:object equals:null]; } // This is removed as the Node module xmldom/xmldom will print out an error (will not fail) when the xml string is empty