File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ - (void)testDataArticles {
69
69
XCTAssertTrue ([article.selfLink isEqualToString: @" http://example.com/articles/1" ], @" Article selfLink should be 'http://example.com/articles/1'" );
70
70
XCTAssertEqualObjects (article.title , @" JSON API paints my bikeshed!" , @" Article title should be 'JSON API paints my bikeshed!'" );
71
71
72
- NSArray *dateStrings = @[[[NSDateFormatter RFC3339DateFormatter ] dateFromString: @" 2015-09-01T12:15:00.000Z" ],
73
- [[NSDateFormatter RFC3339DateFormatter ] dateFromString: @" 2015-08-01T06:15:00.000Z" ]];
74
- XCTAssertEqualObjects (article.versions , dateStrings , @" Article versions should contain an array of date strings " );
72
+ NSArray *dates = @[[[NSDateFormatter RFC3339DateFormatter ] dateFromString: @" 2015-09-01T12:15:00.000Z" ],
73
+ [[NSDateFormatter RFC3339DateFormatter ] dateFromString: @" 2015-08-01T06:15:00.000Z" ]];
74
+ XCTAssertEqualObjects (article.versions , dates , @" Article versions should contain an array of date objects " );
75
75
}
76
76
77
77
- (void )testIncludedPeopleAndComments {
You can’t perform that action at this time.
0 commit comments