update tests: avoid helgrind warning

Log to the black_hole or helgrind gets unhappy
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-06 22:14:02 +03:00
parent ec500d3ed4
commit f83d1b3ed0
3 changed files with 19 additions and 2 deletions

View File

@ -48,7 +48,7 @@ assert_contacts_equal(const Contacts& contacts,
size_t n{};
for (auto&& contact: contacts) {
if (g_test_verbose())
g_print ("{ \"%s\", \"%s\"},\n", contact.name.c_str(), contact.email.c_str());
g_message("{ \"%s\", \"%s\"},\n", contact.name.c_str(), contact.email.c_str());
// assert_equal(contact.name, expected.at(n).first);
// assert_equal(contact.email, expected.at(n).second);
++n;