Make it public again *sigh*

This commit is contained in:
Jonny007-MKD 2018-09-13 14:49:15 +02:00
parent e86d1df3e1
commit 82eeb009b2
2 changed files with 0 additions and 14 deletions

View File

@ -1199,7 +1199,6 @@ public:
const std::string& get() const { return value; }
private:
AdditionalMessage& operator=(AdditionalMessage&&);
std::string value;
};

View File

@ -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);