Another nit fix..

pull/5465/head
Makarand Dharmapurikar 9 years ago
parent c9dbf645e4
commit f1588b5154
  1. 6
      src/objective-c/tests/GRPCClientTests.m

@ -274,9 +274,9 @@ static ProtoMethod *kUnaryCallMethod;
XCTAssertNotNil(value, @"nil value received as response."); XCTAssertNotNil(value, @"nil value received as response.");
XCTAssertEqual([value length], 0, @"Non-empty response received: %@", value); XCTAssertEqual([value length], 0, @"Non-empty response received: %@", value);
XCTAssertEqualObjects(call.responseHeaders[@"x-grpc-test-echo-useragent"], XCTAssertEqualObjects(call.responseHeaders[@"x-grpc-test-echo-useragent"],
@"Foo grpc-objc/0.13.0 grpc-c/0.14.0-dev (ios)", @"Foo grpc-objc/0.13.0 grpc-c/0.14.0-dev (ios)",
@"Did not receive expected user agent %@", @"Did not receive expected user agent %@",
call.responseHeaders[@"x-grpc-test-echo-useragent"]); call.responseHeaders[@"x-grpc-test-echo-useragent"]);
[response fulfill]; [response fulfill];
} completionHandler:^(NSError *errorOrNil) { } completionHandler:^(NSError *errorOrNil) {
XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil); XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil);

Loading…
Cancel
Save