astyle formatting

This commit is contained in:
Daniel Marjamäki 2013-08-16 18:27:54 +02:00
parent b777388fb8
commit 538e4bd798
1 changed files with 5 additions and 5 deletions

View File

@ -2754,11 +2754,11 @@ private:
" }\n" " }\n"
"}"; "}";
const char current[] = "void f ( int x ) {\n" const char current[] = "void f ( int x ) {\n"
"if ( x == 5 ) {\n" "if ( x == 5 ) {\n"
"buf [ x ++ ] = 0 ;\n" "buf [ x ++ ] = 0 ;\n"
"buf [ x -- ] = 0 ;\n" "buf [ x -- ] = 0 ;\n"
"}\n" "}\n"
"}"; "}";
// Increment and decrements should be computed // Increment and decrements should be computed
const char expected[] = "void f ( int x ) {\n" const char expected[] = "void f ( int x ) {\n"
"if ( x == 5 ) {\n" "if ( x == 5 ) {\n"