diff --git a/tests/controls/gridtest.cpp b/tests/controls/gridtest.cpp index 6e6a0da108..bae013388d 100644 --- a/tests/controls/gridtest.cpp +++ b/tests/controls/gridtest.cpp @@ -205,9 +205,9 @@ void GridTestCase::CellEdit() CHECK(m_grid->GetCellValue(1, 1) == "abab"); - CPPUNIT_ASSERT_EQUAL(1, created.GetCount()); - CPPUNIT_ASSERT_EQUAL(1, changing.GetCount()); - CPPUNIT_ASSERT_EQUAL(1, changed.GetCount()); + CHECK(created.GetCount() == 1); + CHECK(changing.GetCount() == 1); + CHECK(changed.GetCount() == 1); #endif }