Extra expectations for ADL toAppend
[folly.git] / folly / test / ConvTest.cpp
index 115a32bfc0edffd144f6fe285ab2d9f6884a39ed..0f7b36699bc9692f7e8a2cd0689f066b3bcc0cff 100644 (file)
@@ -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) {