summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@webkeks.org>2011-04-09 14:30:42 +0200
committerJonathan Schleifer <js@webkeks.org>2011-04-09 14:30:42 +0200
commit1ec9a8fbdb762a99e84c7ef0dedf1c7670ecf45f (patch)
tree6348e7bad20554c7b2331f289ba202066f4a7546
parentac4a2761dfd4c8dfb20e42774d58268c3456b6ae (diff)
Also test comments in -[stringValue].
-rw-r--r--tests/OFXMLElementTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/OFXMLElementTests.m b/tests/OFXMLElementTests.m
index 40a9b54d..1c7a2bd1 100644
--- a/tests/OFXMLElementTests.m
+++ b/tests/OFXMLElementTests.m
@@ -119,8 +119,8 @@ static OFString *module = @"OFXMLElement";
TEST(@"+[elementWithXMLString:] and -[stringValue]",
[[[OFXMLElement elementWithXMLString:
- @"<x>foo<![CDATA[bar]]><y>baz</y>qux</x>"] stringValue] isEqual:
- @"foobarbazqux"])
+ @"<x>foo<![CDATA[bar]]><y>b<!-- fooo -->az</y>qux</x>"] stringValue]
+ isEqual: @"foobarbazqux"])
TEST(@"-[elementsForName:namespace:]",
(a = [elem[2] elementsForName: @"bar"