Skip to content

Commit 09fa451

Browse files
generatedunixname2420066748465701meta-codesync[bot]
authored andcommitted
fbcode/proxygen/lib/http/codec/test/HTTP2CodecTest.cpp
Reviewed By: dtolnay Differential Revision: D114332733 fbshipit-source-id: 352b6091d426c36e9232c7cc491185ce7dfe177f
1 parent 1994fd2 commit 09fa451

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxygen/lib/http/codec/test/HTTP2CodecTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ TEST_F(HTTP2CodecTest, TestAllEgressFrameTypeCallbacks) {
21572157
};
21582158

21592159
for (http2::FrameType type : expectedTypes) {
2160-
EXPECT_TRUE(types.find(static_cast<uint8_t>(type)) != types.end())
2160+
EXPECT_TRUE(types.contains(static_cast<uint8_t>(type)))
21612161
<< "callback missing for type " << static_cast<uint8_t>(type);
21622162
}
21632163
return types.size() == (sizeof(expectedTypes) / sizeof(http2::FrameType));

0 commit comments

Comments
 (0)