From 6ad8c2008ebb30e0b411a391746403f3fd7c109c Mon Sep 17 00:00:00 2001 From: Jorge Canizales <jcanizales@google.com> Date: Mon, 23 Mar 2015 12:12:54 -0700 Subject: [PATCH] Adds more assertions to the test --- src/objective-c/examples/Sample/SampleTests/SampleTests.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/objective-c/examples/Sample/SampleTests/SampleTests.m b/src/objective-c/examples/Sample/SampleTests/SampleTests.m index 92beb20a6a..838efc1ce5 100644 --- a/src/objective-c/examples/Sample/SampleTests/SampleTests.m +++ b/src/objective-c/examples/Sample/SampleTests/SampleTests.m @@ -124,7 +124,8 @@ XCTAssertNotNil(value, @"nil value received as response."); [response fulfill]; RGDFeature *feature = [RGDFeature parseFromData:value]; - NSLog(@"%@ %@", feature.name, feature.location); + XCTAssertEqualObjects(point, feature.location); + XCTAssertNotNil(feature.name, @"Response's name is nil."); [expectedResponse fulfill]; } completionHandler:^(NSError *errorOrNil) { XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil); -- GitLab