Fixed unit test
This commit is contained in:
parent
4d0189c672
commit
9a4bd73a18
|
@ -2245,7 +2245,7 @@ private:
|
||||||
checkstd("void f() {\n"
|
checkstd("void f() {\n"
|
||||||
" memcpy(temp, \"hello world\", 20);\n"
|
" memcpy(temp, \"hello world\", 20);\n"
|
||||||
"}");
|
"}");
|
||||||
ASSERT_EQUALS("[test.cpp:2]: (error) Buffer is accessed out of bounds: \"helloworld\"\n", errout.str());
|
ASSERT_EQUALS("[test.cpp:2]: (error) Buffer is accessed out of bounds.\n", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue