Fix invalid code in TestStl test case
This commit is contained in:
parent
3d587d2704
commit
b73f5fec7d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue