summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/roff/groff/tests/some_escapes_accept_newline_delimiters.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roff/groff/tests/some_escapes_accept_newline_delimiters.sh b/src/roff/groff/tests/some_escapes_accept_newline_delimiters.sh
index 97da54c02..96be05532 100755
--- a/src/roff/groff/tests/some_escapes_accept_newline_delimiters.sh
+++ b/src/roff/groff/tests/some_escapes_accept_newline_delimiters.sh
@@ -73,7 +73,7 @@ output=$(printf "%s\n" "$input" | "$groff" -Tascii -ww \
| LC_ALL=C od -t c)
# 7 spaces between C and D.
printf "%s\n" "$output" \
- | grep -Eqx '0000000 +A +\\b +B +\\b +C D +\\n' || wail
+ | grep -Eqx '0000000 +A +\\b +B +\\b +C D +\\n *' || wail
input="\w
ABC
@@ -120,7 +120,7 @@ test -z "$error" || wail
echo "checking correct handling of newline delimiter to 'Z' escape" >&2
output=$(printf "%s\n" "$input" | "$groff" -Tascii -ww \
| LC_ALL=C od -t c)
-printf "%s\n" "$output" | grep -Eqx '0000000 +A +B +\\b +D +C +\\n' \
+printf "%s\n" "$output" | grep -Eqx '0000000 +A +B +\\b +D +C +\\n *' \
|| wail
test -z "$fail"