Move C++ test main function to its own file.

This commit is contained in:
Ryan Dahl 2018-07-12 13:41:19 -04:00
parent 936c8f6e4c
commit 2c30a25568
4 changed files with 15 additions and 10 deletions

View file

@ -174,10 +174,3 @@ TEST(MockRuntimeTest, ErrorHandling) {
EXPECT_EQ(count, 1);
deno_delete(d);
}
int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv);
deno_init();
deno_set_flags(&argc, argv);
return RUN_ALL_TESTS();
}