• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From d4966911e6b35d8923bc6cd58e7cb8a1b0e09d4a Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
3Date: Tue, 6 Sep 2022 21:44:12 +0200
4Subject: [PATCH] tests/regex: Actually check for match options changes
5
6---
7 glib/tests/regex.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/glib/tests/regex.c b/glib/tests/regex.c
11index 567b6e2202..abf27e619e 100644
12--- a/glib/tests/regex.c
13+++ b/glib/tests/regex.c
14@@ -105,7 +105,7 @@ test_new (gconstpointer d)
15   data = g_new0 (TestNewData, 1);                                \
16   data->pattern = _pattern;                                      \
17   data->compile_opts = _compile_opts;                            \
18-  data->match_opts = 0;                                          \
19+  data->match_opts = _match_opts;                                \
20   data->expected_error = 0;                                      \
21   data->check_flags = TRUE;                                      \
22   data->real_compile_opts = _real_compile_opts;                  \
23--
24GitLab
25
26