projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove extra `int main`s from unit tests.
[folly.git]
/
folly
/
io
/
test
/
IOBufTest.cpp
diff --git
a/folly/io/test/IOBufTest.cpp
b/folly/io/test/IOBufTest.cpp
index db43be6be81d4b29602e7fde66baf8e96374280c..ca39013dd987580ab3d9ab0ebfcae6b8c6421afe 100644
(file)
--- a/
folly/io/test/IOBufTest.cpp
+++ b/
folly/io/test/IOBufTest.cpp
@@
-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();
-}