From 82eeb009b25a4b607984cfd076e46094473ef090 Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Thu, 13 Sep 2018 14:49:15 +0200 Subject: [PATCH] Make it public again *sigh* --- googletest/include/gtest/internal/gtest-internal.h | 1 - googletest/test/gtest_unittest.cc | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 7901cd3b..da3ebd2b 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -1199,7 +1199,6 @@ public: const std::string& get() const { return value; } private: - AdditionalMessage& operator=(AdditionalMessage&&); std::string value; }; diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc index 2c970830..de194491 100644 --- a/googletest/test/gtest_unittest.cc +++ b/googletest/test/gtest_unittest.cc @@ -3748,19 +3748,6 @@ TEST(ExpectTest, ASSERT_EQ_0) { " 0\n 5.6"); } -TEST(AssertionTest, AdditionalMessage) { - ::testing::internal::AdditionalMessage m = "servus"; - EXPECT_EQ(m.get(), "servus"); - - const char* cc = "hello"; - m = cc; - EXPECT_EQ(m.get(), cc); - - std::string s = "hi"; - m = s; - EXPECT_EQ(m.get(), s); -} - // Tests ASSERT_NE. TEST(AssertionTest, ASSERT_NE) { ASSERT_NE(6, 7);