* 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

@ -1,3 +1,8 @@
2012-02-03 09:15-EST Gregory John Casamento <greg.casamento@gmail.com>
* Tests/base/NSXMLNode/basic.m: Correct test for
text node.
2012-02-02 22:57-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLDocument.m: Remove commented out code

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];