diff options
author | Kalev Lember <klember@redhat.com> | 2018-11-27 14:31:03 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2018-11-27 14:31:03 +0100 |
commit | e75a4ac96bf1bce22c493aa13d58fb969c702e02 (patch) | |
tree | 9f051a1e2f52d298ce1d8d39fe29b0c2ca1e1914 | |
parent | 660c509619c7d068b9d479231d1e50ad45587674 (diff) | |
download | appstream-glib-e75a4ac96bf1bce22c493aa13d58fb969c702e02.tar.gz |
trivial: Update self test after app ID tokenizing changes
-rw-r--r-- | libappstream-glib/as-self-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 4e52df4..c25e62e 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -3095,13 +3095,13 @@ as_test_app_search_func (void) GUINT_TO_POINTER (1)); as_app_set_search_blacklist (app, search_blacklist); - g_assert_cmpint (as_app_search_matches (app, "software"), ==, 96); - g_assert_cmpint (as_app_search_matches (app, "soft"), ==, 24); + g_assert_cmpint (as_app_search_matches (app, "software"), ==, 352); + g_assert_cmpint (as_app_search_matches (app, "soft"), ==, 88); g_assert_cmpint (as_app_search_matches (app, "install"), ==, 32); g_assert_cmpint (as_app_search_matches (app, "awesome"), ==, 128); g_assert_cmpint (as_app_search_matches (app, "c++"), ==, 128); g_assert_cmpint (as_app_search_matches (app, "d-feet"), ==, 128); - g_assert_cmpint (as_app_search_matches_all (app, (gchar**) all), ==, 96); + g_assert_cmpint (as_app_search_matches_all (app, (gchar**) all), ==, 352); g_assert_cmpint (as_app_search_matches_all (app, (gchar**) none), ==, 0); g_assert_cmpint (as_app_search_matches_all (app, (gchar**) mime), ==, 4); |