Commit aa43220f authored by vladlosev's avatar vladlosev
Browse files

Changes diagnostic output of the question mark from '\?' to '?'.

parent 71d08627
...@@ -1004,8 +1004,8 @@ TEST(StrEqTest, MatchesEqualString) { ...@@ -1004,8 +1004,8 @@ TEST(StrEqTest, MatchesEqualString) {
} }
TEST(StrEqTest, CanDescribeSelf) { TEST(StrEqTest, CanDescribeSelf) {
Matcher<string> m = StrEq("Hi-\'\"\?\\\a\b\f\n\r\t\v\xD3"); Matcher<string> m = StrEq("Hi-\'\"?\\\a\b\f\n\r\t\v\xD3");
EXPECT_EQ("is equal to \"Hi-\'\\\"\\?\\\\\\a\\b\\f\\n\\r\\t\\v\\xD3\"", EXPECT_EQ("is equal to \"Hi-\'\\\"?\\\\\\a\\b\\f\\n\\r\\t\\v\\xD3\"",
Describe(m)); Describe(m));
string str("01204500800"); string str("01204500800");
...@@ -1393,8 +1393,8 @@ TEST(StdWideStrEqTest, MatchesEqual) { ...@@ -1393,8 +1393,8 @@ TEST(StdWideStrEqTest, MatchesEqual) {
} }
TEST(StdWideStrEqTest, CanDescribeSelf) { TEST(StdWideStrEqTest, CanDescribeSelf) {
Matcher< ::std::wstring> m = StrEq(L"Hi-\'\"\?\\\a\b\f\n\r\t\v"); Matcher< ::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v");
EXPECT_EQ("is equal to L\"Hi-\'\\\"\\?\\\\\\a\\b\\f\\n\\r\\t\\v\"", EXPECT_EQ("is equal to L\"Hi-\'\\\"?\\\\\\a\\b\\f\\n\\r\\t\\v\"",
Describe(m)); Describe(m));
Matcher< ::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); Matcher< ::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D");
...@@ -1584,8 +1584,8 @@ TEST(GlobalWideStrEqTest, MatchesEqual) { ...@@ -1584,8 +1584,8 @@ TEST(GlobalWideStrEqTest, MatchesEqual) {
} }
TEST(GlobalWideStrEqTest, CanDescribeSelf) { TEST(GlobalWideStrEqTest, CanDescribeSelf) {
Matcher< ::wstring> m = StrEq(L"Hi-\'\"\?\\\a\b\f\n\r\t\v"); Matcher< ::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v");
EXPECT_EQ("is equal to L\"Hi-\'\\\"\\?\\\\\\a\\b\\f\\n\\r\\t\\v\"", EXPECT_EQ("is equal to L\"Hi-\'\\\"?\\\\\\a\\b\\f\\n\\r\\t\\v\"",
Describe(m)); Describe(m));
Matcher< ::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); Matcher< ::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D");
......
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