[gtk/prop-list: 210/224] filter: Update tests



commit f7530d5eb61df83d8d41785df4ae9ea9ae1ae629
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 4 07:36:18 2019 -0500

    filter: Update tests

 testsuite/gtk/filter.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/testsuite/gtk/filter.c b/testsuite/gtk/filter.c
index 8e98f42be5..7e3ff11668 100644
--- a/testsuite/gtk/filter.c
+++ b/testsuite/gtk/filter.c
@@ -260,6 +260,7 @@ test_string_simple (void)
                                       NULL, NULL);
 
   filter = gtk_string_filter_new ();
+  gtk_string_filter_set_match_mode (GTK_STRING_FILTER (filter), GTK_STRING_FILTER_MATCH_MODE_SUBSTRING);
   gtk_string_filter_set_expression (GTK_STRING_FILTER (filter), expr);
 
   model = new_model (20, filter);
@@ -287,6 +288,7 @@ test_string_properties (void)
                                       NULL, NULL);
 
   filter = gtk_string_filter_new ();
+  gtk_string_filter_set_match_mode (GTK_STRING_FILTER (filter), GTK_STRING_FILTER_MATCH_MODE_SUBSTRING);
   gtk_string_filter_set_expression (GTK_STRING_FILTER (filter), expr);
 
   model = new_model (1000, filter);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]