diff --git a/test/testleakautovar.cpp b/test/testleakautovar.cpp index 1da92689f3e..1075774f51f 100644 --- a/test/testleakautovar.cpp +++ b/test/testleakautovar.cpp @@ -625,13 +625,13 @@ class TestLeakAutoVar : public TestFixture { check("void f(int*& x) {\n" // #8235 " int* p = (int*)malloc(10);\n" " x = p ? p : nullptr;\n" - "}", true); + "}", true); ASSERT_EQUALS("", errout_str()); check("void f(int*& x) {\n" " int* p = (int*)malloc(10);\n" " x = p != nullptr ? p : nullptr;\n" - "}", true); + "}", true); ASSERT_EQUALS("", errout_str()); }