Skip to content

Commit c9e6ce4

Browse files
vascoolgitster
authored andcommitted
t6030: update to use test_i18ncmp
Since the git bisect output tested here is subject to translation, the helper function test_i18ncmp should be used over test_cmp. Signed-off-by: Vasco Almeida <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 57984dd commit c9e6ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t6030-bisect-porcelain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ test_expect_success 'bisect terms needs 0 or 1 argument' '
803803
test_must_fail git bisect terms 1 2 &&
804804
test_must_fail git bisect terms 2>actual &&
805805
echo "no terms defined" >expected &&
806-
test_cmp expected actual
806+
test_i18ncmp expected actual
807807
'
808808

809809
test_expect_success 'bisect terms shows good/bad after start' '
@@ -875,7 +875,7 @@ test_expect_success 'bisect start --term-* does store terms' '
875875
Your current terms are two for the old state
876876
and one for the new state.
877877
EOF
878-
test_cmp expected actual &&
878+
test_i18ncmp expected actual &&
879879
git bisect terms --term-bad >actual &&
880880
echo one >expected &&
881881
test_cmp expected actual &&

0 commit comments

Comments
 (0)