diff options
-rw-r--r-- | libappstream-glib/as-self-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index e368eaf..6b66730 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -2622,7 +2622,11 @@ as_test_app_search_func (void) g_assert_cmpint (as_app_search_matches (app, "software"), ==, 96); g_assert_cmpint (as_app_search_matches (app, "soft"), ==, 24); +#ifdef HAVE_LIBSTEMMER g_assert_cmpint (as_app_search_matches (app, "installing"), ==, 32); +#else + g_assert_cmpint (as_app_search_matches (app, "install"), ==, 32); +#endif 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); |