From 38845b12e793c2c6ccf5cda74601251881c76a0d Mon Sep 17 00:00:00 2001 From: Asra Ali Date: Mon, 14 Dec 2020 10:59:56 -0500 Subject: [PATCH] fix clang tidy Signed-off-by: Asra Ali --- test/common/http/http2/request_header_fuzz_test.cc | 6 +++--- test/common/http/http2/response_header_fuzz_test.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/common/http/http2/request_header_fuzz_test.cc b/test/common/http/http2/request_header_fuzz_test.cc index 3af7f5c594cea..917eeec250eec 100644 --- a/test/common/http/http2/request_header_fuzz_test.cc +++ b/test/common/http/http2/request_header_fuzz_test.cc @@ -13,7 +13,7 @@ namespace Http { namespace Http2 { namespace { -void Replay(const Frame& frame, ServerCodecFrameInjector& codec) { +void replay(const Frame& frame, ServerCodecFrameInjector& codec) { // Create the server connection containing the nghttp2 session. TestServerConnectionImplNew connection( codec.server_connection_, codec.server_callbacks_, codec.stats_store_, codec.options_, @@ -32,10 +32,10 @@ DEFINE_FUZZER(const uint8_t* buf, size_t len) { Frame frame; frame.assign(buf, buf + len); // Replay with the fuzzer bytes. - Replay(frame, codec); + replay(frame, codec); // Try again, but fixup the HEADERS frame to make it a valid HEADERS. FrameUtils::fixupHeaders(frame); - Replay(frame, codec); + replay(frame, codec); } } // namespace diff --git a/test/common/http/http2/response_header_fuzz_test.cc b/test/common/http/http2/response_header_fuzz_test.cc index 112f1392921af..0ab42e0ebbf30 100644 --- a/test/common/http/http2/response_header_fuzz_test.cc +++ b/test/common/http/http2/response_header_fuzz_test.cc @@ -14,7 +14,7 @@ namespace Http { namespace Http2 { namespace { -void Replay(const Frame& frame, ClientCodecFrameInjector& codec) { +void replay(const Frame& frame, ClientCodecFrameInjector& codec) { // Create the client connection containing the nghttp2 session. TestClientConnectionImplNew connection( codec.client_connection_, codec.client_callbacks_, codec.stats_store_, codec.options_, @@ -40,10 +40,10 @@ DEFINE_FUZZER(const uint8_t* buf, size_t len) { Frame frame; frame.assign(buf, buf + len); // Replay with the fuzzer bytes. - Replay(frame, codec); + replay(frame, codec); // Try again, but fixup the HEADERS frame to make it a valid HEADERS. FrameUtils::fixupHeaders(frame); - Replay(frame, codec); + replay(frame, codec); } } // namespace