@@ -36,19 +36,19 @@ (elem[1] = [OFXMLElement elementWithName: @"foo" stringValue: @"b&ar"]) && [[elem[1] string] isEqual: @"b&ar"]) TEST(@"-[addAttributeWithName:stringValue:]", - [elem[0] addAttributeWithName: @"foo" - stringValue: @"b&ar"] && + R([elem[0] addAttributeWithName: @"foo" + stringValue: @"b&ar"]) && [[elem[0] string] isEqual: @""] && - [elem[1] addAttributeWithName: @"foo" - stringValue: @"b&ar"] && + R([elem[1] addAttributeWithName: @"foo" + stringValue: @"b&ar"]) && [[elem[1] string] isEqual: @"b&ar"]) TEST(@"-[addChild:]", - [elem[0] addChild: [OFXMLElement elementWithName: @"bar"]] && + R([elem[0] addChild: [OFXMLElement elementWithName: @"bar"]]) && [[elem[0] string] isEqual: @""]) [pool drain]; } @end