From 7476d89836592bb36c97b86c4f1967ab9bb205d7 Mon Sep 17 00:00:00 2001 From: jinhai Date: Fri, 12 Apr 2019 21:16:56 +0800 Subject: [PATCH] Update gtest Former-commit-id: f36a47dd6fb651b6552fa87cb9ec09ac8839990a --- cpp/unittest/log/log_tests.cpp | 4 ++-- cpp/unittest/vecwise_test.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/unittest/log/log_tests.cpp b/cpp/unittest/log/log_tests.cpp index df9e581959..483d52da9f 100644 --- a/cpp/unittest/log/log_tests.cpp +++ b/cpp/unittest/log/log_tests.cpp @@ -6,6 +6,6 @@ #include -TEST(LOG_TESTS, INIT_TEST) { - ASSERT_EQ(true); +TEST(LogTest, INIT_TEST) { + ASSERT_STREQ("A", "A"); } \ No newline at end of file diff --git a/cpp/unittest/vecwise_test.cpp b/cpp/unittest/vecwise_test.cpp index 55620d9f9d..d5dfff538c 100644 --- a/cpp/unittest/vecwise_test.cpp +++ b/cpp/unittest/vecwise_test.cpp @@ -3,9 +3,9 @@ // Unauthorized copying of this file, via any medium is strictly prohibited. // Proprietary and confidential. //////////////////////////////////////////////////////////////////////////////// +#include #include - int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS();