summaryrefslogtreecommitdiff
path: root/t/t3903-stash.sh
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2012-08-27 05:36:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-27 16:26:29 (GMT)
commit2878568847d5c437f964dec301370c71758e13cc (patch)
tree199a53be9b52e384f1014fa3cbb9ad1db6fb803e /t/t3903-stash.sh
parent4fa7e1989f411b2c507ace390e84ecf3d1eeb424 (diff)
downloadgit-2878568847d5c437f964dec301370c71758e13cc.zip
git-2878568847d5c437f964dec301370c71758e13cc.tar.gz
git-2878568847d5c437f964dec301370c71758e13cc.tar.bz2
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>
Diffstat (limited to 't/t3903-stash.sh')
-rwxr-xr-xt/t3903-stash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index cd04263..5dfbda7 100755
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
@@ -610,7 +610,7 @@ test_expect_success 'stash apply shows status same as git status (relative to cu
git stash apply
) |
sed -e 1,2d >actual && # drop "Saved..." and "HEAD is now..."
- test_cmp expect actual
+ test_i18ncmp expect actual
'
cat > expect << EOF