From 2169fa36c9235d13bf64e20009fc3a639ca5670a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 20 May 2022 19:47:34 -0700 Subject: [PATCH 1/3] tests: make spencer1.tests more POSIX-compliant * tests/spencer1.tests: Do not test the regular expression a\x as POSIX says the interpretation of \x is undefined and we may want to warn about it in the future, to allow for future extensions. Instead, test a\\x, a[\]x, and ax. --- tests/spencer1.tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/spencer1.tests b/tests/spencer1.tests index 50581e8..d7e72c4 100644 --- a/tests/spencer1.tests +++ b/tests/spencer1.tests @@ -58,7 +58,9 @@ 0@a\(b@a(b 0@a\(*b@ab 0@a\(*b@a((b -1@a\x@a\x +0@a\\x@a\x +0@a[\]x@a\x +1@ax@a\x 1@abc)@- 2@(abc@- 0@((a))@abc -- 2.34.1