diff options
author | Muxi Yan <mxyan@google.com> | 2018-02-06 18:04:00 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-02-06 18:17:42 -0800 |
commit | 3db2caaf2e5e18d8cc5690986350edcba0906ed4 (patch) | |
tree | 5de20e5c4143f555732fa3fbe199de3fcababa91 /test/core/compression | |
parent | 6f0b195d2003dbf8daf0dc31916aecac738ad45c (diff) |
Replace message/deflate,gzip with deflate,gzip
Diffstat (limited to 'test/core/compression')
-rw-r--r-- | test/core/compression/compression_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/compression/compression_test.cc b/test/core/compression/compression_test.cc index 001591d6be..3ec238dc31 100644 --- a/test/core/compression/compression_test.cc +++ b/test/core/compression/compression_test.cc @@ -28,7 +28,7 @@ static void test_compression_algorithm_parse(void) { size_t i; - const char* valid_names[] = {"identity", "message/gzip", "message/deflate", + const char* valid_names[] = {"identity", "gzip", "deflate", "stream/gzip"}; const grpc_compression_algorithm valid_algorithms[] = { GRPC_COMPRESS_NONE, GRPC_COMPRESS_GZIP, GRPC_COMPRESS_DEFLATE, @@ -61,7 +61,7 @@ static void test_compression_algorithm_name(void) { int success; const char* name; size_t i; - const char* valid_names[] = {"identity", "message/gzip", "message/deflate", + const char* valid_names[] = {"identity", "gzip", "deflate", "stream/gzip"}; const grpc_compression_algorithm valid_algorithms[] = { GRPC_COMPRESS_NONE, GRPC_COMPRESS_GZIP, GRPC_COMPRESS_DEFLATE, |