mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-05 11:21:09 +03:00
Use appendToChain instead of deprecated name prependChain
Summary: See title Differential Revision: D74206613 fbshipit-source-id: b8acaaabe3de34f5e5af03e91455ccb342939c86
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a56be059b9
commit
469da60216
@@ -3285,7 +3285,7 @@ TEST_F(QuicTransportFunctionsTest, WriteProbingOldData) {
|
||||
EXPECT_CALL(*capturingAead, _inplaceEncrypt(_, _, _))
|
||||
.WillRepeatedly(Invoke([&](auto& buf, auto, auto) {
|
||||
if (buf) {
|
||||
pktBodyCaptured.prependChain(buf->clone());
|
||||
pktBodyCaptured.appendToChain(buf->clone());
|
||||
return buf->clone();
|
||||
} else {
|
||||
return folly::IOBuf::create(0);
|
||||
@@ -3299,7 +3299,7 @@ TEST_F(QuicTransportFunctionsTest, WriteProbingOldData) {
|
||||
EXPECT_CALL(*capturingAead, _inplaceEncrypt(_, _, _))
|
||||
.WillRepeatedly(Invoke([&](auto& buf, auto, auto) {
|
||||
if (buf) {
|
||||
secondBodyCaptured.prependChain(buf->clone());
|
||||
secondBodyCaptured.appendToChain(buf->clone());
|
||||
return buf->clone();
|
||||
} else {
|
||||
return folly::IOBuf::create(0);
|
||||
@@ -3332,7 +3332,7 @@ TEST_F(QuicTransportFunctionsTest, WriteProbingOldDataAckFreq) {
|
||||
EXPECT_CALL(*capturingAead, _inplaceEncrypt(_, _, _))
|
||||
.WillRepeatedly(Invoke([&](auto& buf, auto, auto) {
|
||||
if (buf) {
|
||||
pktBodyCaptured.prependChain(buf->clone());
|
||||
pktBodyCaptured.appendToChain(buf->clone());
|
||||
return buf->clone();
|
||||
} else {
|
||||
return folly::IOBuf::create(0);
|
||||
@@ -3352,7 +3352,7 @@ TEST_F(QuicTransportFunctionsTest, WriteProbingOldDataAckFreq) {
|
||||
EXPECT_CALL(*capturingAead, _inplaceEncrypt(_, _, _))
|
||||
.WillRepeatedly(Invoke([&](auto& buf, auto, auto) {
|
||||
if (buf) {
|
||||
secondBodyCaptured.prependChain(buf->clone());
|
||||
secondBodyCaptured.appendToChain(buf->clone());
|
||||
return buf->clone();
|
||||
} else {
|
||||
return folly::IOBuf::create(0);
|
||||
|
Reference in New Issue
Block a user