From a40526042e9c1a26982a5eb504dd78d34dde649a Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 15 Oct 2018 23:56:46 +0200
Subject: [PATCH] Also test completion without filtering.

---
 tests/test-handler.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/test-handler.c b/tests/test-handler.c
index d71b1ad..a1d93d0 100644
--- a/tests/test-handler.c
+++ b/tests/test-handler.c
@@ -81,10 +81,15 @@ static void test_handler_fill_completion(void)
     g_assert_cmpint(gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL), ==, 1);
     gtk_list_store_clear(store);
 
-    /* check case where no mathc is found */
+    /* check case where no match is found */
     g_assert_false(handler_fill_completion(handler, store, "unknown"));
     g_assert_cmpint(gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL), ==, 0);
     gtk_list_store_clear(store);
+
+    /* check case without apllied filters */
+    g_assert_true(handler_fill_completion(handler, store, ""));
+    g_assert_cmpint(gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL), ==, 4);
+    gtk_list_store_clear(store);
 }
 
 int main(int argc, char *argv[])
-- 
2.20.1