use spaces in strings
This commit is contained in:
parent
c487ea843d
commit
700512a53f
|
@ -2608,7 +2608,7 @@ private:
|
|||
check("class Pool{\n"
|
||||
" int* GetNewObj()\n"
|
||||
" {\n"
|
||||
" return new int;\n"
|
||||
" return new int;\n"
|
||||
" }\n"
|
||||
"};\n"
|
||||
"void foo(){\n"
|
||||
|
|
|
@ -7113,7 +7113,7 @@ private:
|
|||
" int x;\n"
|
||||
" x = 1;\n"
|
||||
" if (y)\n" // <-- cppcheck does not know anything about 'y'
|
||||
" x = 2;\n"
|
||||
" x = 2;\n"
|
||||
" return x + 1;\n"
|
||||
"}");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
|
Loading…
Reference in New Issue