aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/channel_create_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/channel_create_test.c')
-rw-r--r--test/core/surface/channel_create_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/surface/channel_create_test.c b/test/core/surface/channel_create_test.c
index 5ff66bd7a5..450cc37233 100644
--- a/test/core/surface/channel_create_test.c
+++ b/test/core/surface/channel_create_test.c
@@ -43,7 +43,8 @@ void test_unknown_scheme_target(void) {
grpc_resolver_registry_init("");
chan = grpc_insecure_channel_create("blah://blah", NULL, NULL);
- GPR_ASSERT(chan == NULL);
+ GPR_ASSERT(chan != NULL);
+ grpc_channel_destroy(chan);
}
int main(int argc, char **argv) {