groff-commit
[Top][All Lists]
Advanced

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

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


From: G. Branden Robinson
Subject: [groff] 01/62: tmac/tests/e_ld-works.sh: Fix Swedish test case.
Date: Thu, 20 Apr 2023 06:14:21 -0400 (EDT)

gbranden pushed a commit to branch branden-2023-04-20
in repository groff.

commit 7c582b10b7015cab9f9641dbe6dd5dd67aae00aa
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]