mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34426 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1780a56fb4
commit
0681b25521
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ int main()
|
|||
NSXMLDocument *node;
|
||||
|
||||
node = [NSXMLDocument alloc];
|
||||
PASS_EXCEPTION([node initWithDate: nil options: 0 error: 0],
|
||||
PASS_EXCEPTION([node initWithData: nil options: 0 error: 0],
|
||||
NSInvalidArgumentException,
|
||||
"Cannot initialise an XML document with nil data");
|
||||
|
||||
node = [NSXMLDocument alloc];
|
||||
PASS_EXCEPTION([node initWithDate: (NSData*)@"bad" options: 0 error: 0],
|
||||
PASS_EXCEPTION([node initWithData: (NSData*)@"bad" options: 0 error: 0],
|
||||
NSInvalidArgumentException,
|
||||
"Cannot initialise an XML document with bad data class");
|
||||
|
||||
|
|
Loading…
Reference in a new issue