Remove extra `int main`s from unit tests.
[folly.git] / folly / io / test / IOBufTest.cpp
index db43be6be81d4b29602e7fde66baf8e96374280c..ca39013dd987580ab3d9ab0ebfcae6b8c6421afe 100644 (file)
@@ -1233,10 +1233,3 @@ TEST(IOBuf, Managed) {
   writableStr(*buf2)[0] = 'x';
   EXPECT_EQ("jelloxorldhelloxorld", toString(*buf1));
 }
-
-int main(int argc, char** argv) {
-  testing::InitGoogleTest(&argc, argv);
-  gflags::ParseCommandLineFlags(&argc, &argv, true);
-
-  return RUN_ALL_TESTS();
-}