[gtk/prop-list: 2/18] filter: Update tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/prop-list: 2/18] filter: Update tests
- Date: Sun, 8 Dec 2019 18:59:22 +0000 (UTC)
commit 65ef4b6bc8da6830cb8e129da3361e60ae89e618
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]