[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/127: tmac/tests/e_ld-works.sh: Fix Swedish test case.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/127: tmac/tests/e_ld-works.sh: Fix Swedish test case. |
Date: |
Mon, 10 Jul 2023 04:30:11 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 9fa55f59a68bb3930eb9c8e7aa5cd6ae2496ee49
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/127: tmac/tests/e_ld-works.sh: Fix Swedish test case.,
G. Branden Robinson <=