diff options
author | Colin Walters <walters@verbum.org> | 2010-11-16 09:16:52 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-11-16 09:26:37 -0500 |
commit | e59214ec184423e0a468e7b01be4a38acacf2b31 (patch) | |
tree | 054cbd2a530c3d36aedfab4d00b3ce75ddef11b2 /tests | |
parent | 7ee81977246405da3aa68332a2fbfb7905c2c140 (diff) | |
download | gobject-introspection-e59214ec184423e0a468e7b01be4a38acacf2b31.tar.gz |
tests: Print an error message
Diffstat (limited to 'tests')
-rw-r--r-- | tests/repository/gitestrepo.c | 4 |
1 files 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); |