From e59214ec184423e0a468e7b01be4a38acacf2b31 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 16 Nov 2010 09:16:52 -0500 Subject: tests: Print an error message --- tests/repository/gitestrepo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/repository/gitestrepo.c b/tests/repository/gitestrepo.c index 25b590f3..eba655fa 100644 --- a/tests/repository/gitestrepo.c +++ b/tests/repository/gitestrepo.c @@ -54,8 +54,8 @@ main(int argc, char **argv) g_free (girdir); ret = g_irepository_require (repo, "Gio", NULL, 0, &error); - g_assert (ret); - g_assert (error == NULL); + if (!ret) + g_error ("%s", error->message); info = g_irepository_find_by_name (repo, "Gio", "Cancellable"); g_assert (info != NULL); -- cgit v1.2.1