Skip to content

Commit 4fa7e19

Browse files
jiangxingitster
authored andcommitted
Fix tests under GETTEXT_POISON on relative dates
Use the i18n-specific test_i18ncmp in t/t0006-date.sh for relative dates tests. This issue was was introduced in v1.7.10-230-g7d29a: 7d29a i18n: mark relative dates for translation and been broken under GETTEXT_POISON=YesPlease since. Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 889d358 commit 4fa7e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0006-date.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ check_show() {
1111
echo "$t -> $2" >expect
1212
test_expect_${3:-success} "relative date ($2)" "
1313
test-date show $t >actual &&
14-
test_cmp expect actual
14+
test_i18ncmp expect actual
1515
"
1616
}
1717

0 commit comments

Comments
 (0)