summaryrefslogtreecommitdiff
path: root/lib/message/mu-document.cc
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-08-10 08:20:58 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-08-15 23:18:18 +0300
commit11389247c532bf3564ea89ea3264f707d1340dd2 (patch)
treefc686b483a9c75785af2b82fa06b6b5f54b4eeed /lib/message/mu-document.cc
parent3ba2c4ea08b5f9631556718c1f9b59d5213ea15b (diff)
tests: update test helpers and users
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for g_test_init. Update users.
Diffstat (limited to 'lib/message/mu-document.cc')
-rw-r--r--lib/message/mu-document.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/message/mu-document.cc b/lib/message/mu-document.cc
index c0a207e..f0c230c 100644
--- a/lib/message/mu-document.cc
+++ b/lib/message/mu-document.cc
@@ -370,6 +370,8 @@ Document::remove(Field::Id field_id)
#ifdef BUILD_TESTS
+#include "utils/mu-test-utils.hh"
+
#define assert_same_contact(C1,C2) do { \
g_assert_cmpstr(C1.email.c_str(),==,C2.email.c_str()); \
g_assert_cmpstr(C2.name.c_str(),==,C2.name.c_str()); \