Run astyle [ci skip]
This commit is contained in:
parent
ea2916a3e4
commit
f5df06a143
|
@ -6989,13 +6989,13 @@ private:
|
|||
"}");
|
||||
ASSERT_EQUALS("[test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n", errout.str());
|
||||
|
||||
check("void f() {\n"
|
||||
" unsigned char c;\n"
|
||||
" while( EOF != ( c = getchar() ) )\n"
|
||||
" {\n"
|
||||
" }\n"
|
||||
"}");
|
||||
ASSERT_EQUALS("[test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n", errout.str());
|
||||
check("void f() {\n"
|
||||
" unsigned char c;\n"
|
||||
" while( EOF != ( c = getchar() ) )\n"
|
||||
" {\n"
|
||||
" }\n"
|
||||
"}");
|
||||
ASSERT_EQUALS("[test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n", errout.str());
|
||||
|
||||
check("void f() {\n"
|
||||
" unsigned char c;\n"
|
||||
|
|
Loading…
Reference in New Issue