* Tests/base/NSXMLNode/basic.m: Correct test for

text node.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2012-02-03 14:16:54 +00:00
parent a43c970b66
commit c095336eeb
2 changed files with 12 additions and 0 deletions

View file

@ -71,6 +71,13 @@ int main()
PASS([node isEqual: other],
"Nodes with the same attributes are equal");
[other setStringValue: @"value"];
PASS(![node isEqual: other],
"Nodes with different values are NOT equal");
[node setStringValue: @"value"];
PASS([node isEqual: other],
"Nodes with different values are equal");
[node release];
[other release];