Running astyle [ci skip]

This commit is contained in:
orbitcowboy 2021-04-09 08:53:32 +02:00
parent b5719418ea
commit f7e6d216b2
1 changed files with 4 additions and 4 deletions

View File

@ -3089,10 +3089,10 @@ private:
// #8206 - knownCondition always false
check("void f(int i)\n"
"{\n"
" if(i > 4)\n"
" for( int x = 0; i < 3; ++x){}\n" // <<
"}");
"{\n"
" if(i > 4)\n"
" for( int x = 0; i < 3; ++x){}\n" // <<
"}");
ASSERT_EQUALS("[test.cpp:3] -> [test.cpp:4]: (style) Condition 'i<3' is always false\n", errout.str());
// Skip literals