aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check-empathy-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-empathy-helpers.c')
-rw-r--r--tests/check-empathy-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check-empathy-helpers.c b/tests/check-empathy-helpers.c
index d176d0abe..b66bbddd0 100644
--- a/tests/check-empathy-helpers.c
+++ b/tests/check-empathy-helpers.c
@@ -54,11 +54,11 @@ copy_xml_file (const gchar *orig,
sample = get_xml_file (orig);
result = g_file_get_contents (sample, &buffer, &length, NULL);
- fail_if (!result);
+ g_assert (result);
file = get_user_xml_file (dest);
result = g_file_set_contents (file, buffer, length, NULL);
- fail_if (!result);
+ g_assert (result);
g_free (sample);
g_free (file);