summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-05-06 18:08:56 +0100
committerRichard Hughes <richard@hughsie.com>2014-05-06 18:08:56 +0100
commit04edd1ec8a06a1d3c2999c763c150ecbdf2845bf (patch)
treee18658d22dc7c1f174a3dd3682e8b5681736a7ba
parent301da6d7c28e3bf3646822eb78546641d47db8e7 (diff)
downloadappstream-glib-04edd1ec8a06a1d3c2999c763c150ecbdf2845bf.tar.gz
trivial: ...and fix the tests...
-rw-r--r--libappstream-glib/as-self-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c
index 5dc9a25..363f06d 100644
--- a/libappstream-glib/as-self-test.c
+++ b/libappstream-glib/as-self-test.c
@@ -1366,11 +1366,11 @@ ch_test_utils_func (void)
g_clear_error (&error);
/* invalid URLs */
- ret = as_utils_check_url_exists ("hello dave", &error);
+ ret = as_utils_check_url_exists ("hello dave", 1, &error);
g_assert (!ret);
g_assert (error != NULL);
g_clear_error (&error);
- ret = as_utils_check_url_exists ("http://www.bbc.co.uk/notgoingtoexist", &error);
+ ret = as_utils_check_url_exists ("http://www.bbc.co.uk/notgoingtoexist", 1, &error);
g_assert (!ret);
g_assert (error != NULL);
g_clear_error (&error);