mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Replace folly::Optional::hasValue() by has_value()
Differential Revision: D19882830 fbshipit-source-id: 031217f9890351022bc8d171f0ccd7e045dd6972
This commit is contained in:
committed by
Facebook Github Bot
parent
2c04d99cda
commit
a396f62335
@@ -88,7 +88,7 @@ TEST_F(QuicReadCodecTest, VersionNegotiationPacketTest) {
|
||||
auto packetQueue = bufToQueue(std::move(packet.second));
|
||||
auto versionNegotiationPacket =
|
||||
makeUnencryptedCodec()->tryParsingVersionNegotiation(packetQueue);
|
||||
ASSERT_TRUE(versionNegotiationPacket.hasValue());
|
||||
ASSERT_TRUE(versionNegotiationPacket.has_value());
|
||||
EXPECT_EQ(versionNegotiationPacket->destinationConnectionId, destConnId);
|
||||
EXPECT_EQ(versionNegotiationPacket->sourceConnectionId, srcConnId);
|
||||
EXPECT_EQ(versionNegotiationPacket->versions, versions);
|
||||
|
||||
Reference in New Issue
Block a user