summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/wocky-test-helper.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/wocky-test-helper.c b/tests/wocky-test-helper.c
index 665afeb..0acc7cf 100644
--- a/tests/wocky-test-helper.c
+++ b/tests/wocky-test-helper.c
@@ -208,8 +208,12 @@ sched_close_cb (GObject *source,
gpointer user_data)
{
test_data_t *test = (test_data_t *) user_data;
- g_assert (wocky_porter_close_finish (
- WOCKY_PORTER (source), res, NULL));
+ GError *error = NULL;
+ gboolean ret = wocky_porter_close_finish (
+ WOCKY_PORTER (source), res, &error);
+
+ g_assert_no_error (error);
+ g_assert (ret);
test->outstanding--;
g_main_loop_quit (test->loop);