diff --git a/test/cfg/googletest.cpp b/test/cfg/googletest.cpp index 9f1394075..1c6a55a40 100644 --- a/test/cfg/googletest.cpp +++ b/test/cfg/googletest.cpp @@ -40,7 +40,7 @@ TEST(ASSERT, ASSERT) // Avoid syntax error: https://sourceforge.net/p/cppcheck/discussion/general/thread/6ccc7283e2/ TEST(test_cppcheck, cppcheck) { - TestStruct it; - ASSERT_THROW(it.operator->(), std::out_of_range); + TestStruct it; + ASSERT_THROW(it.operator->(), std::out_of_range); }