Thanks for reporting that. It's a bug in the test case. I installed the attached fix.
From 44f6086116dedcc55633f249cbdd00770c88de60 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Thu, 14 Dec 2023 17:15:27 -0800
Subject: [PATCH] mcel-tests: fix thinko in test

* tests/test-mcel.c (main): Fix typo in mcel_scanz test.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2023-12/msg00034.html
---
 ChangeLog         | 7 +++++++
 tests/test-mcel.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3153b91b2d..13e80727ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-12-14  Paul Eggert  <egg...@cs.ucla.edu>
+
+	mcel-tests: fix thinko in test
+	* tests/test-mcel.c (main): Fix typo in mcel_scanz test.
+	Problem reported by Bruno Haible in:
+	https://lists.gnu.org/r/bug-gnulib/2023-12/msg00034.html
+
 2023-12-11  Paul Eggert  <egg...@cs.ucla.edu>
 
 	savedir: scale better when sorting by name
diff --git a/tests/test-mcel.c b/tests/test-mcel.c
index 238a512db1..4bbb35c074 100644
--- a/tests/test-mcel.c
+++ b/tests/test-mcel.c
@@ -130,7 +130,7 @@ main (void)
               ASSERT (c.ch == d.ch && c.err == d.err && c.len == d.len);
               if (!t)
                 {
-                  mcel_t z = mcel_scanz (ijk);
+                  mcel_t z = mcel_scanz (ijkt);
                   ASSERT (d.ch == z.ch && d.err == z.err && d.len == z.len);
                 }
             }
-- 
2.43.0

Reply via email to