Эх сурвалжийг харах

Fix a failure description

skyline75489 8 жил өмнө
parent
commit
158dc56d30

+ 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 {