Skip to content

Commit c6f7fce

Browse files
committed
add test
1 parent 8c14fc7 commit c6f7fce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testassert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class TestAssert : public TestFixture {
156156
"void foo(SquarePack s) {\n"
157157
" assert( s.Foo() );\n"
158158
"}");
159-
ASSERT_EQUALS("[test.cpp:5:14]: (warning) Assert statement calls a function which may have desired side effects: 'Foo'. [assertWithSideEffect]\n", errout_str());
159+
ASSERT_EQUALS("", errout_str());
160160

161161
check("struct SquarePack {\n"
162162
" int Foo() const;\n"

0 commit comments

Comments
 (0)