[gtk/prop-list: 1/12] filter: Update tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/prop-list: 1/12] filter: Update tests
- Date: Wed, 4 Dec 2019 16:30:58 +0000 (UTC)
commit 12ee06a3095b07956be52ba5caaf3f3c8e62700f
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 dbe8cc4602..b65a80a76e 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_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_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]