Change flags type in Http2FrameHeaderTypeAndFlagTest. External contribution by tmoniuszko-opera at https://github.com/google/quiche/pull/14. Listing tests with --gtest_list_tests prints non-UTF-8 characters. This change is to fix that. See pull request for more details and for why this matters. PiperOrigin-RevId: 446459944
diff --git a/quiche/http2/http2_structures_test.cc b/quiche/http2/http2_structures_test.cc index 7293f2f..c939f81 100644 --- a/quiche/http2/http2_structures_test.cc +++ b/quiche/http2/http2_structures_test.cc
@@ -149,11 +149,11 @@ #if GTEST_HAS_DEATH_TEST && !defined(NDEBUG) -using TestParams = std::tuple<Http2FrameType, Http2FrameFlag>; +using TestParams = std::tuple<Http2FrameType, uint8_t>; std::string TestParamToString(const testing::TestParamInfo<TestParams>& info) { Http2FrameType type = std::get<0>(info.param); - Http2FrameFlag flags = std::get<1>(info.param); + uint8_t flags = std::get<1>(info.param); return absl::StrCat(Http2FrameTypeToString(type), static_cast<int>(flags)); } @@ -170,7 +170,7 @@ } const Http2FrameType type_; - const Http2FrameFlag flags_; + const uint8_t flags_; }; class IsEndStreamTest : public Http2FrameHeaderTypeAndFlagTest {};