aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channel_args_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-18 15:06:21 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-18 15:06:21 -0700
commit9780f59a06ebe8a2f4c971f2984d3236a027392c (patch)
treeb5019158a1407d048ce274647f9ad3d3b8794e9a /test/core/channel/channel_args_test.c
parent68897999237ab5d67278365b3bd444960fa3c4c0 (diff)
parentfcbe7daf832dcb616fc93ca59c3b1aab279f510e (diff)
Merge github.com:grpc/grpc into signal_handler
Diffstat (limited to 'test/core/channel/channel_args_test.c')
-rw-r--r--test/core/channel/channel_args_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/channel/channel_args_test.c b/test/core/channel/channel_args_test.c
index c7fc25960c..c2fc05095a 100644
--- a/test/core/channel/channel_args_test.c
+++ b/test/core/channel/channel_args_test.c
@@ -77,7 +77,8 @@ static void test_set_compression_algorithm(void) {
ch_args =
grpc_channel_args_set_compression_algorithm(NULL, GRPC_COMPRESS_GZIP);
GPR_ASSERT(ch_args->num_args == 1);
- GPR_ASSERT(strcmp(ch_args->args[0].key, GRPC_COMPRESSION_ALGORITHM_ARG) == 0);
+ GPR_ASSERT(strcmp(ch_args->args[0].key,
+ GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM) == 0);
GPR_ASSERT(ch_args->args[0].type == GRPC_ARG_INTEGER);
grpc_channel_args_destroy(ch_args);