aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/GRPCClientTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-08-07 17:19:55 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-08-07 17:19:55 -0700
commitd562ad11accb84c06c15e8e1b9177ac353f1c01c (patch)
treed95863f5206a846a1915930f753eb8f6f0d94d29 /src/objective-c/tests/GRPCClientTests.m
parent8617879613133c06782c955b03c0bd3d1f8517e2 (diff)
clang-format
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r--src/objective-c/tests/GRPCClientTests.m28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m
index 6dda346514..a0de8ba899 100644
--- a/src/objective-c/tests/GRPCClientTests.m
+++ b/src/objective-c/tests/GRPCClientTests.m
@@ -606,20 +606,20 @@ static GRPCProtoMethod *kFullDuplexCallMethod;
call.oauth2AccessToken = @"bogusToken";
id<GRXWriteable> responsesWriteable =
- [[GRXWriteable alloc] initWithValueHandler:^(NSData *value) {
- XCTFail(@"Received unexpected response: %@", value);
- }
- completionHandler:^(NSError *errorOrNil) {
- XCTAssertNotNil(errorOrNil, @"Finished without error!");
- NSDictionary *userInfo = errorOrNil.userInfo;
- NSString *debugInformation = userInfo[NSDebugDescriptionErrorKey];
- XCTAssertNotNil(debugInformation);
- XCTAssertNotEqual([debugInformation length], 0);
- NSString *challengeHeader = call.oauth2ChallengeHeader;
- XCTAssertGreaterThan(challengeHeader.length, 0, @"No challenge in response headers %@",
- call.responseHeaders);
- [expectation fulfill];
- }];
+ [[GRXWriteable alloc] initWithValueHandler:^(NSData *value) {
+ XCTFail(@"Received unexpected response: %@", value);
+ }
+ completionHandler:^(NSError *errorOrNil) {
+ XCTAssertNotNil(errorOrNil, @"Finished without error!");
+ NSDictionary *userInfo = errorOrNil.userInfo;
+ NSString *debugInformation = userInfo[NSDebugDescriptionErrorKey];
+ XCTAssertNotNil(debugInformation);
+ XCTAssertNotEqual([debugInformation length], 0);
+ NSString *challengeHeader = call.oauth2ChallengeHeader;
+ XCTAssertGreaterThan(challengeHeader.length, 0, @"No challenge in response headers %@",
+ call.responseHeaders);
+ [expectation fulfill];
+ }];
[call startWithWriteable:responsesWriteable];