diff options
author | 2015-05-20 12:03:16 -0700 | |
---|---|---|
committer | 2015-05-20 12:03:16 -0700 | |
commit | 606129b655b3d7333d6ac5e19251a94fe3fa155d (patch) | |
tree | 542aaa505ee5af44039b5da814f9da3cc5ff4817 /src | |
parent | dbfe2f437c532548ac3d4ecc21737fd6419a217f (diff) |
Fixed boolean variable
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/examples/Sample/SampleTests/RemoteProtoTests.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/examples/Sample/SampleTests/RemoteProtoTests.m b/src/objective-c/examples/Sample/SampleTests/RemoteProtoTests.m index 4fbaf63168..bf1fb68339 100644 --- a/src/objective-c/examples/Sample/SampleTests/RemoteProtoTests.m +++ b/src/objective-c/examples/Sample/SampleTests/RemoteProtoTests.m @@ -275,7 +275,7 @@ // A buffered pipe to which we never write any value acts as a writer that just hangs. GRXBufferedPipe *requestsBuffer = [[GRXBufferedPipe alloc] init]; - __block bool receivedResponse = false; + __block BOOL receivedResponse = NO; id request = [RMTStreamingOutputCallRequest messageWithPayloadSize:@21782 requestedResponseSize:@31415]; @@ -294,7 +294,7 @@ XCTAssertNil(error, @"Finished with unexpected error: %@", error); XCTAssertFalse(done, @"Finished without response"); XCTAssertNotNil(response); - receivedResponse = true; + receivedResponse = YES; [call cancel]; } }]; |