testmemleak: fixed a test case
This commit is contained in:
parent
460c29f6a2
commit
bbf4641304
|
@ -1256,7 +1256,7 @@ private:
|
||||||
" delete [] str2;\n"
|
" delete [] str2;\n"
|
||||||
"}\n", true);
|
"}\n", true);
|
||||||
|
|
||||||
ASSERT_EQUALS(std::string("[test.cpp:1]: (always) Memory leak: Fred::str1\n"), errout.str());
|
ASSERT_EQUALS(std::string("[test.cpp:1]: (all) Memory leak: Fred::str1\n"), errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue