File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6989,13 +6989,13 @@ class TestOther : public TestFixture {
69896989 " }" );
69906990 ASSERT_EQUALS (" [test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n " , errout.str ());
69916991
6992- check (" void f() {\n "
6993- " unsigned char c;\n "
6994- " while( EOF != ( c = getchar() ) )\n "
6995- " {\n "
6996- " }\n "
6997- " }" );
6998- ASSERT_EQUALS (" [test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n " , errout.str ());
6992+ check (" void f() {\n "
6993+ " unsigned char c;\n "
6994+ " while( EOF != ( c = getchar() ) )\n "
6995+ " {\n "
6996+ " }\n "
6997+ " }" );
6998+ ASSERT_EQUALS (" [test.cpp:3]: (warning) Storing getchar() return value in char variable and then comparing with EOF.\n " , errout.str ());
69996999
70007000 check (" void f() {\n "
70017001 " unsigned char c;\n "
You can’t perform that action at this time.
0 commit comments