aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-18 14:28:36 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-18 14:28:36 -0800
commitd79b3fe3207f7bd064d584c6e15517680749e2d5 (patch)
tree22eb1e220878202682821380740dfbbfc7766665
parent8bc8ff3dce507f912b8985fefaa22da1e2d95b6d (diff)
Fix test
-rw-r--r--src/objective-c/tests/GRPCClientTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m
index b16720557f..3ef046835e 100644
--- a/src/objective-c/tests/GRPCClientTests.m
+++ b/src/objective-c/tests/GRPCClientTests.m
@@ -365,7 +365,7 @@ static GRPCProtoMethod *kFullDuplexCallMethod;
GRXWriter *writer = [GRXWriter writerWithValue:[NSData data]];
// Try to set parameters to nil for GRPCCall. This should cause an exception
@try {
- (void)[[GRPCCall alloc] initWithHost:@"" path:@"" requestsWriter:writer];
+ (void)[[GRPCCall alloc] initWithHost:nil path:nil requestsWriter:writer];
XCTFail(@"Did not receive an exception when parameters are nil");
} @catch (NSException *theException) {
NSLog(@"Received exception as expected: %@", theException.name);