From: Yedidya Feldblum Date: Wed, 15 Nov 2017 06:39:18 +0000 (-0800) Subject: Extra expectations for ADL toAppend X-Git-Tag: v2017.11.20.00~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5008d56a42c87a4027bbe94a9afb7b2ddc0d9075;p=folly.git Extra expectations for ADL toAppend Summary: [Folly] Extra expectations for ADL `toAppend`. Reviewed By: Orvid Differential Revision: D6330547 fbshipit-source-id: d1363280f097f860883ba84d6cfe7caa4e4cf9de --- 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) {