Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix tests under GETTEXT_POISON on git-stash
author
Jiang Xin
<worldhello.net@gmail.com>
Mon, 27 Aug 2012 05:36:50 +0000
(13:36 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 27 Aug 2012 16:26:29 +0000
(09:26 -0700)
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>
t/t3903-stash.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
4fa7e19
)
diff --git
a/t/t3903-stash.sh
b/t/t3903-stash.sh
index cd042633ba5ec36be89507d25254b32a8f0b98ae..5dfbda7491aceaa64215ac94bdd416f9b93f55d3 100755
(executable)
--- 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_
i18n
cmp expect actual
'
cat > expect << EOF