Fix line number in previously committed unit test

This commit is contained in:
Reijo Tomperi 2010-04-05 23:37:30 +03:00
parent 0cffe547f9
commit 928163b0cf
1 changed files with 1 additions and 1 deletions

View File

@ -1445,7 +1445,7 @@ private:
" S s;\n"
" memset(s.a, 0, 10);\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"
"{\n"