aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/channel_create_test.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-05-17 11:38:51 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-05-17 11:38:51 -0700
commit113a934b8137cb481804a99003358d49ea4ef2a5 (patch)
tree5cc7e3faf998119314bbfe74e01d7717b1893332 /test/core/surface/channel_create_test.c
parentaf1c7e4f06b3b490fef6dd75669c92cc71acb8c7 (diff)
parent8010daaf2b0c0308b0838c555535d4efa6e361bc (diff)
Merge branch 'master' of github.com:grpc/grpc into compression_incoming_checks
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) {