gbranden pushed a commit to branch master
in repository groff.
commit f77fc1289b2eeda4724a21f66e008be1e1fcd283
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Dec 21 01:02:09 2025 -0600
[groff]: Update test expectations.
* src/roff/groff/tests/check-delimiter-validity.sh: Delete check for
invalidity of `\0`, `\^`, and `\|` as delimiters--they're valid again
now.
---
ChangeLog | 4 ++++
src/roff/groff/tests/check-delimiter-validity.sh | 13 -------------
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5d22373bb..78458b95c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,10 @@
token type the same as the old one.
(token::description): Describe new token type distinctly.
+ * src/roff/groff/tests/check-delimiter-validity.sh: Delete check
+ for invalidity of `\0`, `\^`, and `\|` as delimiters--they're
+ valid again now.
+
2025-12-21 G. Branden Robinson <[email protected]>
* src/roff/troff/token.h (class token): Trivially refactor.
diff --git a/src/roff/groff/tests/check-delimiter-validity.sh
b/src/roff/groff/tests/check-delimiter-validity.sh
index c1792b952..1e5e6f9e6 100755
--- a/src/roff/groff/tests/check-delimiter-validity.sh
+++ b/src/roff/groff/tests/check-delimiter-validity.sh
@@ -140,19 +140,6 @@ echo "$output" | grep -Fqx "foo--bar" && wail
# TODO: Check invalidity of \C as escape sequence delimiter when not in
# compatibility mode. See comment #27 of Savannah #67372.
-# Test invalid delimiters to `read_delimited_name()`.
-
-# TODO: We can restore the validity of these. See comment #27 of
-# Savannah #67372.
-for c in '0' '^' '|'
-do
- echo "checking invalidity of '$c' as escape sequence delimiter" \
- "when not in compatibility mode" >&2
- output=$(printf 'foo\\C\\%cem\\%cbar\n' "$c" "$c" \
- | "$groff" -T ascii -a | sed '/^$/d')
- echo "$output" | grep -Fqx "foo--bar" && wail
-done
-
# Now test the context-dependent sets of delimiters of AT&T troff.
# not tested: '_' (because it's part of our delimited expression)
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit