[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 05/14: [troff]: Tweak diagnostic message format.
From: |
G. Branden Robinson |
Subject: |
[groff] 05/14: [troff]: Tweak diagnostic message format. |
Date: |
Wed, 20 Oct 2021 00:52:51 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit acad46707387ed8d820e296b19dc3141e56ff934
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Oct 20 15:28:28 2021 +1100
[troff]: Tweak diagnostic message format.
* src/roff/troff/input.cpp (do_error): Format diagnostic messages in
closer alignment with GNU Coding Standards: don't introduce a space
between the program name and the input file name.
* src/roff/groff/tests/string_case_xform_errors.sh: Update expected
output.
---
ChangeLog | 3 +++
src/roff/groff/tests/string_case_xform_errors.sh | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 4a78356..1b96962 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
introduce a space between the program name and the input file
name.
+ * src/roff/groff/tests/string_case_xform_errors.sh: Update
+ expected output.
+
2021-10-19 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/roff/troff/env.cpp (distribute_space): Revert an
diff --git a/src/roff/groff/tests/string_case_xform_errors.sh
b/src/roff/groff/tests/string_case_xform_errors.sh
index e67dfc9..a16d763 100755
--- a/src/roff/groff/tests/string_case_xform_errors.sh
+++ b/src/roff/groff/tests/string_case_xform_errors.sh
@@ -20,7 +20,7 @@
groff="${abs_top_builddir:-.}/test-groff"
-expected="troff: <standard input>:1: error: cannot apply string case
transformation to a request ('br')"
+expected="troff:<standard input>:1: error: cannot apply string case
transformation to a request ('br')"
actual=$("$groff" -Tutf8 2>&1 <<EOF
.stringdown br
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 05/14: [troff]: Tweak diagnostic message format.,
G. Branden Robinson <=