Browse Source

Fix a failure description

skyline75489 8 years ago
parent
commit
158dc56d30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/Tests/AFXMLDocumentResponseSerializerTests.m

+ 1 - 1
Tests/Tests/AFXMLDocumentResponseSerializerTests.m

@@ -83,7 +83,7 @@ static NSData * AFXMLTestData() {
     NSError *error = nil;
     [self.responseSerializer responseObjectForResponse:response data:[@"<foo" dataUsingEncoding:NSUTF8StringEncoding] error:&error];
 
-    XCTAssertNotNil(error, @"Serialization error should be nil");
+    XCTAssertNotNil(error, @"Serialization error should not be nil");
 }
 
 - (void)testThatXMLDocumentResponseSerializerCanBeCopied {