Update gtest

Former-commit-id: f36a47dd6fb651b6552fa87cb9ec09ac8839990a
This commit is contained in:
jinhai 2019-04-12 21:16:56 +08:00
parent 1a1ba0434b
commit 7476d89836
2 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,6 @@
#include <gtest/gtest.h>
TEST(LOG_TESTS, INIT_TEST) {
ASSERT_EQ(true);
TEST(LogTest, INIT_TEST) {
ASSERT_STREQ("A", "A");
}

View File

@ -3,9 +3,9 @@
// Unauthorized copying of this file, via any medium is strictly prohibited.
// Proprietary and confidential.
////////////////////////////////////////////////////////////////////////////////
#include <gtest/gtest.h>
#include <gmock/gmock.h>
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();