groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/126: tmac/tests/e_ld-works.sh: Fix Swedish test case.


From: G. Branden Robinson
Subject: [groff] 01/126: tmac/tests/e_ld-works.sh: Fix Swedish test case.
Date: Wed, 5 Jul 2023 17:02:43 -0400 (EDT)

gbranden pushed a commit to branch branden-2023-07-05
in repository groff.

commit 10b9704d3786ee6f31d6334e96655fd80d82b846
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Mar 9 11:49:45 2023 -0600

    tmac/tests/e_ld-works.sh: Fix Swedish test case.
    
    We weren't failing the test if the beginning of the translated date
    string was incorrect.
---
 tmac/tests/e_ld-works.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmac/tests/e_ld-works.sh b/tmac/tests/e_ld-works.sh
index 1c315a857..f3327a817 100755
--- a/tmac/tests/e_ld-works.sh
+++ b/tmac/tests/e_ld-works.sh
@@ -115,7 +115,7 @@ echo "$output_it" | grep -Eqx ' +Appendice A' || wail
 
 # Swedish localization
 echo 'checking that `td` string updated correctly for Swedish (1)' >&2
-echo "$output_sv" | grep -q 'The day was m'
+echo "$output_sv" | grep -q 'The day was m' || wail
 
 echo 'checking that `td` string updated correctly for Swedish (2)' >&2
 echo "$output_sv" | grep -q 'ndag, 15 december 2008\.$' || wail



reply via email to

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