gbranden pushed a commit to branch master
in repository groff.
commit 39c49ed7fa44a6a44b3044509a92b4369fb3ad8e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jan 18 15:59:18 2020 +1100
.../recognize_end_of_sentence.sh: Add comment.
---
src/roff/groff/tests/recognize_end_of_sentence.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/roff/groff/tests/recognize_end_of_sentence.sh
b/src/roff/groff/tests/recognize_end_of_sentence.sh
index 368dc2b..3ec3394 100755
--- a/src/roff/groff/tests/recognize_end_of_sentence.sh
+++ b/src/roff/groff/tests/recognize_end_of_sentence.sh
@@ -23,6 +23,8 @@ groff="${abs_top_builddir:-.}/test-groff"
# Verify that the characters trailing the period are all transparent for
# purposes of end-of-sentence recognition. We use UTF-8 so we won't get
# warnings about \[dg] and \[dd] missing from other encodings.
+#
+# Also confirm that we get _two_ spaces after the end of a sentence.
"$groff" -Tutf8 <<EOF | grep -qE 'Eat\.[^ ]+ Drink\.'
.pl 1v
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit