Fix line number in previously committed unit test
This commit is contained in:
parent
0cffe547f9
commit
928163b0cf
|
@ -1445,7 +1445,7 @@ private:
|
||||||
" S s;\n"
|
" S s;\n"
|
||||||
" memset(s.a, 0, 10);\n"
|
" memset(s.a, 0, 10);\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
ASSERT_EQUALS("[test.cpp:4]: (error) Buffer access out-of-bounds: s.a\n", errout.str());
|
ASSERT_EQUALS("[test.cpp:7]: (error) Buffer access out-of-bounds: s.a\n", errout.str());
|
||||||
|
|
||||||
check("void f()\n"
|
check("void f()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|
Loading…
Reference in New Issue