Skip to content

Commit 46e35a6

Browse files
author
Junio C Hamano
committed
Rename t3900 test vector file
It appears ISO-2022-JP is more widely accepted than ISO2022JP, so rename it that way. We probably would need to have a way to skip this test altogether in locale-challenged environments. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d2c11a3 commit 46e35a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

t/t3900-i18n-commit.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_expect_success 'no encoding header for base case' '
2626
test z = "z$E"
2727
'
2828

29-
for H in ISO-8859-1 EUCJP ISO2022JP
29+
for H in ISO-8859-1 EUCJP ISO-2022-JP
3030
do
3131
test_expect_success "$H setup" '
3232
git-repo-config i18n.commitencoding $H &&
@@ -36,7 +36,7 @@ do
3636
'
3737
done
3838

39-
for H in ISO-8859-1 EUCJP ISO2022JP
39+
for H in ISO-8859-1 EUCJP ISO-2022-JP
4040
do
4141
test_expect_success "check encoding header for $H" '
4242
E=$(git-cat-file commit '$H' | sed -ne "s/^encoding //p") &&
@@ -60,7 +60,7 @@ test_expect_success 'ISO-8859-1 should be shown in UTF-8 now' '
6060
compare_with ISO-8859-1 ../t3900/1-UTF-8.txt
6161
'
6262

63-
for H in EUCJP ISO2022JP
63+
for H in EUCJP ISO-2022-JP
6464
do
6565
test_expect_success "$H should be shown in UTF-8 now" '
6666
compare_with '$H' ../t3900/2-UTF-8.txt
@@ -78,7 +78,7 @@ test_expect_success 'repo-config to add customization' '
7878
fi
7979
'
8080

81-
for H in ISO-8859-1 EUCJP ISO2022JP
81+
for H in ISO-8859-1 EUCJP ISO-2022-JP
8282
do
8383
test_expect_success "$H should be shown in itself now" '
8484
git-repo-config i18n.commitencoding '$H' &&
@@ -94,7 +94,7 @@ test_expect_success 'ISO-8859-1 should be shown in UTF-8 now' '
9494
compare_with ISO-8859-1 ../t3900/1-UTF-8.txt
9595
'
9696

97-
for H in EUCJP ISO2022JP
97+
for H in EUCJP ISO-2022-JP
9898
do
9999
test_expect_success "$H should be shown in UTF-8 now" '
100100
compare_with '$H' ../t3900/2-UTF-8.txt

0 commit comments

Comments
 (0)