[gnome-software] trivial: Fix 'make check'
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix 'make check'
- Date: Fri, 18 Oct 2013 07:52:31 +0000 (UTC)
commit 06aafa266fd3effec3fed8d80435e53ce49f8d49
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 18 08:45:05 2013 +0100
trivial: Fix 'make check'
src/gs-self-test.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-self-test.c b/src/gs-self-test.c
index 43cdbe5..524629d 100644
--- a/src/gs-self-test.c
+++ b/src/gs-self-test.c
@@ -298,6 +298,7 @@ gs_plugin_loader_refine_func (void)
GError *error = NULL;
GsApp *app;
GsPluginLoader *loader;
+ const gchar *url;
gboolean ret;
/* load the plugins */
@@ -326,7 +327,8 @@ gs_plugin_loader_refine_func (void)
g_assert_cmpstr (gs_app_get_licence (app), ==, "GPLv3+ and GPLv3");
g_assert_cmpstr (gs_app_get_description (app), !=, NULL);
- g_assert_cmpstr (gs_app_get_url (app), ==, "http://www.gimp.org/");
+ url = gs_app_get_url (app, GS_APP_URL_KIND_HOMEPAGE);
+ g_assert_cmpstr (url, ==, "http://www.gimp.org/");
g_object_unref (app);
g_object_unref (loader);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]