"googlemock/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "fbb48a7708fc791ef25096b383791966bbf369f0"
Commit 82eeb009 authored by Jonny007-MKD's avatar Jonny007-MKD
Browse files

Make it public again *sigh*

parent e86d1df3
...@@ -1199,7 +1199,6 @@ public: ...@@ -1199,7 +1199,6 @@ public:
const std::string& get() const { return value; } const std::string& get() const { return value; }
private: private:
AdditionalMessage& operator=(AdditionalMessage&&);
std::string value; std::string value;
}; };
......
...@@ -3748,19 +3748,6 @@ TEST(ExpectTest, ASSERT_EQ_0) { ...@@ -3748,19 +3748,6 @@ TEST(ExpectTest, ASSERT_EQ_0) {
" 0\n 5.6"); " 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. // Tests ASSERT_NE.
TEST(AssertionTest, ASSERT_NE) { TEST(AssertionTest, ASSERT_NE) {
ASSERT_NE(6, 7); ASSERT_NE(6, 7);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment