astyle fix

This commit is contained in:
Reijo Tomperi 2010-02-08 09:35:53 +02:00
parent 9591e09dd0
commit 7e2e20c2d3
1 changed files with 4 additions and 4 deletions

View File

@ -435,16 +435,16 @@ private:
" const char *p = ch + \"/usr\";\n" " const char *p = ch + \"/usr\";\n"
"}\n"); "}\n");
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
// Strange looking pointer arithmetic.. // Strange looking pointer arithmetic..
strPlusChar("void foo()\n" strPlusChar("void foo()\n"
"{\n" "{\n"
" int i = 1;\n" " int i = 1;\n"
" const char* psz = \"Bla\";\n" " const char* psz = \"Bla\";\n"
" const std::string str = i + psz;\n" " const std::string str = i + psz;\n"
"}\n"); "}\n");
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void strPlusChar3() void strPlusChar3()
{ {