groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/14: [tests]: Log more accurate messages in failures.


From: G. Branden Robinson
Subject: [groff] 01/14: [tests]: Log more accurate messages in failures.
Date: Fri, 4 Jun 2021 16:01:59 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bd9deb1f8d31b2dc9b8d72726629cbe1d9f7ec80
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jun 4 18:01:22 2021 +1000

    [tests]: Log more accurate messages in failures.
    
    * tmac/tests/an-old_title-abbreviation-works.sh: Log more accurate
      messages in test failures.
---
 ChangeLog                                     | 5 +++++
 tmac/tests/an-old_title-abbreviation-works.sh | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f2a9a77..3ca4342 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-04  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/tests/an-old_title-abbreviation-works.sh: Log more
+       accurate messages in test failures.
+
 2021-06-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/an-old.tmac (an-abbreviate-title): Add new internal macro
diff --git a/tmac/tests/an-old_title-abbreviation-works.sh 
b/tmac/tests/an-old_title-abbreviation-works.sh
index 3c4b686..86ec8d1 100755
--- a/tmac/tests/an-old_title-abbreviation-works.sh
+++ b/tmac/tests/an-old_title-abbreviation-works.sh
@@ -37,7 +37,7 @@ if ! echo "$OUTPUT" \
     | grep -Eq 'foo\(1\) +General Commands Manual +foo\(1\)'
 then
     FAIL=yes
-    echo "short command name test failed" >&2
+    echo "short page title test failed" >&2
 fi
 
 INPUT='.TH CosNotifyChannelAdmin_StructuredProxyPushSupplier 3erl \
@@ -53,7 +53,7 @@ PATTERN="$TITLE_ABBV Erlang Module Definition $TITLE_ABBV"
 if ! echo "$OUTPUT" | grep -Fq "$PATTERN"
 then
     FAIL=yes
-    echo "long command name test failed" >&2
+    echo "long page title test failed" >&2
 fi
 
 test -z "$FAIL"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]