gbranden pushed a commit to branch master
in repository groff.
commit d75dfadaf32eb60690d5aa86ae15d992f2b093d6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jun 21 18:07:36 2024 -0500
[troff]: Tweak test case output.
Describe expected results more clearly.
---
src/roff/groff/tests/adjustment_works.sh | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/roff/groff/tests/adjustment_works.sh
b/src/roff/groff/tests/adjustment_works.sh
index 41c260d8f..f190aa2e0 100755
--- a/src/roff/groff/tests/adjustment_works.sh
+++ b/src/roff/groff/tests/adjustment_works.sh
@@ -80,37 +80,37 @@ R=' foo bar' # 2 leading spaces
echo "verifying default adjustment mode 'b'" >&2
echo "$output" | sed -n '1p' | grep -Fqx "$B" || wail
-echo "verifying that .na works" >&2
+echo "verifying that '.na' turns off adjustment and aligns left" >&2
echo "$output" | sed -n '2p' | grep -Fqx "$L" || wail
-echo "verifying adjustment mode 'l'" >&2
+echo "verifying that '.ad l' aligns left" >&2
echo "$output" | sed -n '3p' | grep -Fqx "$L" || wail
-echo "verifying that .na works after '.ad l'" >&2
+echo "verifying that '.na' turns off adjustment and aligns left" >&2
echo "$output" | sed -n '4p' | grep -Fqx "$L" || wail
-echo "verifying adjustment mode 'b'" >&2
+echo "verifying that '.ad b' enables adjustment" >&2
echo "$output" | sed -n '5p' | grep -Fqx "$B" || wail
-echo "verifying that .na works after '.ad b'" >&2
+echo "verifying that '.na' turns off adjustment and aligns left" >&2
echo "$output" | sed -n '6p' | grep -Fqx "$L" || wail
-echo "verifying adjustment mode 'c'" >&2
+echo "verifying that '.ad c' aligns to the center" >&2
echo "$output" | sed -n '7p' | grep -Fqx "$C" || wail
-echo "verifying that .na works after '.ad c'" >&2
+echo "verifying that '.na' turns off adjustment and aligns left" >&2
echo "$output" | sed -n '8p' | grep -Fqx "$L" || wail
-echo "verifying adjustment mode 'r'" >&2
+echo "verifying that '.ad r' aligns right" >&2
echo "$output" | sed -n '9p' | grep -Fqx "$R" || wail
-echo "verifying that .na works after '.ad r'" >&2
+echo "verifying that '.na' turns off adjustment and aligns left" >&2
echo "$output" | sed -n '10p' | grep -Fqx "$L" || wail
-echo "verifying that '.ad' restores previous adjustment mode" >&2
+echo "verifying that '.ad' restores previous alignment (right)" >&2
echo "$output" | sed -n '11p' | grep -Fqx "$R" || wail
-echo "verifying that out-of-range adjustment mode 100 is ignored" >&2
+echo "verifying that out-of-range mode works like '.ad b'" >&2
echo "$output" | sed -n '12p' | grep -Fqx "$B" || wail
test -z "$fail"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit