diff --git a/tests/uris/uris.cpp b/tests/uris/uris.cpp index 7b88306b58..7ad7189198 100644 --- a/tests/uris/uris.cpp +++ b/tests/uris/uris.cpp @@ -96,7 +96,7 @@ URITestCase::URITestCase() // apply the given accessor to the URI, check that the result is as expected #define URI_ASSERT_PART_EQUAL(uri, expected, accessor) \ - CPPUNIT_ASSERT_EQUAL(expected, wxURI(uri).accessor) + CHECK(wxURI(uri).accessor == expected) #define URI_ASSERT_HOSTTYPE_EQUAL(uri, expected) \ URI_ASSERT_PART_EQUAL((uri), (expected), GetHostType())