From 5008d56a42c87a4027bbe94a9afb7b2ddc0d9075 Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 14 Nov 2017 22:39:18 -0800 Subject: [PATCH] Extra expectations for ADL toAppend Summary: [Folly] Extra expectations for ADL `toAppend`. Reviewed By: Orvid Differential Revision: D6330547 fbshipit-source-id: d1363280f097f860883ba84d6cfe7caa4e4cf9de --- folly/test/ConvTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/folly/test/ConvTest.cpp b/folly/test/ConvTest.cpp index 115a32bf..0f7b3669 100644 --- a/folly/test/ConvTest.cpp +++ b/folly/test/ConvTest.cpp @@ -1249,6 +1249,9 @@ TEST(Conv, custom_kkproviders) { // make sure above implementation of estimateSpaceNeeded() is used. EXPECT_GT(str.capacity(), 2000); EXPECT_LT(str.capacity(), 2500); + // toAppend with other arguments + toAppend("|", expected, &str); + EXPECT_EQ("7x8|7x8", str); } TEST(Conv, TryToThenWithVoid) { -- 2.34.1