diff options
author | Muxi Yan <mxyan@google.com> | 2018-12-18 14:28:36 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-12-18 14:28:36 -0800 |
commit | d79b3fe3207f7bd064d584c6e15517680749e2d5 (patch) | |
tree | 22eb1e220878202682821380740dfbbfc7766665 | |
parent | 8bc8ff3dce507f912b8985fefaa22da1e2d95b6d (diff) |
Fix test
-rw-r--r-- | src/objective-c/tests/GRPCClientTests.m | 2 |
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); |