Fix invalid code in TestStl test case

This commit is contained in:
Daniel Marjamäki 2017-09-19 23:22:17 +02:00
parent 3d587d2704
commit b73f5fec7d
1 changed files with 1 additions and 1 deletions

View File

@ -2227,7 +2227,7 @@ private:
check("const char* foo() {\n" check("const char* foo() {\n"
" static std::string text;\n" " static std::string text;\n"
" text = \"hello world\n\";\n" " text = \"hello world\\n\";\n"
" return text.c_str();\n" " return text.c_str();\n"
"}"); "}");
ASSERT_EQUALS("", errout.str()); // #3427 ASSERT_EQUALS("", errout.str()); // #3427