Fixes some compatibility issues with STLport.

This commit is contained in:
zhanyong.wan
2013-04-04 22:44:57 +00:00
parent c08ec2a768
commit 5f18b68bfc
2 changed files with 10 additions and 5 deletions

View File

@@ -4518,7 +4518,7 @@ TEST(EqAssertionTest, StdString) {
// Compares a const char* to an std::string that has different
// content
EXPECT_NONFATAL_FAILURE(EXPECT_EQ("Test", ::std::string("test")),
"::std::string(\"test\")");
"\"test\"");
// Compares an std::string to a char* that has different content.
char* const p1 = const_cast<char*>("foo");