aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/chttp2
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/transport/chttp2')
-rw-r--r--test/core/transport/chttp2/alpn_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/transport/chttp2/alpn_test.c b/test/core/transport/chttp2/alpn_test.c
index 65b7af8683..7a70b0ca7f 100644
--- a/test/core/transport/chttp2/alpn_test.c
+++ b/test/core/transport/chttp2/alpn_test.c
@@ -37,8 +37,7 @@
#include "test/core/util/test_config.h"
static void test_alpn_success(void) {
- const char *version = GRPC_CHTTP2_ALPN_VERSION;
- GPR_ASSERT(grpc_chttp2_is_alpn_version_supported(version, strlen(version)));
+ GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-16", 5));
GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-15", 5));
GPR_ASSERT(grpc_chttp2_is_alpn_version_supported("h2-14", 5));
}