Skip to content

Commit 3d109c1

Browse files
committed
Fix assertion description
1 parent 5814554 commit 3d109c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Project/JSONAPITests/JSONAPITests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ - (void)testSerializeComplex {
176176
XCTAssertNil(json[@"relationships"][@"author"][@"first-name"], @"Bad link!");
177177

178178
XCTAssertNotNil(json[@"relationships"][@"comments"], @"Did not create links!");
179-
XCTAssertTrue([json[@"relationships"][@"comments"][@"data"] isKindOfClass:[NSArray class]], @"Comments should be array!.");
180-
XCTAssertEqual([json[@"relationships"][@"comments"][@"data"] count], 2, @"Comments should have 1 element!.");
179+
XCTAssertTrue([json[@"relationships"][@"comments"][@"data"] isKindOfClass:[NSArray class]], @"Comments data should be array!.");
180+
XCTAssertEqual([json[@"relationships"][@"comments"][@"data"] count], 2, @"Comments should have 2 elements!.");
181181
}
182182

183183
- (void)testCreate {

0 commit comments

Comments
 (0)