Skip to content

Commit 2878568

Browse files
jiangxingitster
authored andcommitted
Fix tests under GETTEXT_POISON on git-stash
Use i18n-specific test functions in test scripts for git-stash. This issue was was introduced in v1.7.4.1-119-g355ec: 355ec i18n: git-status basic messages 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 4fa7e19 commit 2878568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3903-stash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ test_expect_success 'stash apply shows status same as git status (relative to cu
610610
git stash apply
611611
) |
612612
sed -e 1,2d >actual && # drop "Saved..." and "HEAD is now..."
613-
test_cmp expect actual
613+
test_i18ncmp expect actual
614614
'
615615

616616
cat > expect << EOF

0 commit comments

Comments
 (0)