[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 16/17: tmac/tests/e_ld-works.sh: Fix Swedish test case.
From: |
G. Branden Robinson |
Subject: |
[groff] 16/17: tmac/tests/e_ld-works.sh: Fix Swedish test case. |
Date: |
Thu, 9 Mar 2023 15:03:07 -0500 (EST) |
gbranden pushed a commit to branch post-1.23.0
in repository groff.
commit 66c16747d5e183498dbe4ba172eadfe7e6e8fde4
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 64a8cee20..4af1f5f76 100755
--- a/tmac/tests/e_ld-works.sh
+++ b/tmac/tests/e_ld-works.sh
@@ -132,7 +132,7 @@ echo "$output_ru" | sed -n '6p' \
# 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] 16/17: tmac/tests/e_ld-works.sh: Fix Swedish test case.,
G. Branden Robinson <=