Make it public again *sigh*
This commit is contained in:
parent
e86d1df3e1
commit
82eeb009b2
@ -1199,7 +1199,6 @@ public:
|
||||
const std::string& get() const { return value; }
|
||||
|
||||
private:
|
||||
AdditionalMessage& operator=(AdditionalMessage&&);
|
||||
std::string value;
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user