testbufferoverrun.cpp: fixed unit test error

This commit is contained in:
Daniel Marjamäki 2009-11-07 19:59:03 +01:00
parent c98976cc9b
commit 52eb32eb5b
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ private:
" char str[10];\n"
" cin >> str;\n"
"}\n");
ASSERT_EQUALS("[test.cpp:4]: (possible error) Dangerous usage of std::cin, possible buffer overrun\n", errout.str());
ASSERT_EQUALS("[test.cpp:6]: (possible error) Dangerous usage of std::cin, possible buffer overrun\n", errout.str());
}