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 <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Jun 17, 2016 at 20:21 UTC
c9e6ce41daffb707b33f05dc133bb0dd0493f77b
1 file changed
+2
-2
t/t6030-bisect-porcelain.sh
+2
-2
@@ -803,7 +803,7 @@ test_expect_success 'bisect terms needs 0 or 1 argument' '
803
test_must_fail git bisect terms 1 2 &&
804
test_must_fail git bisect terms 2>actual &&
805
echo "no terms defined" >expected &&
806
- test_cmp expected actual
806
+ test_i18ncmp expected actual
807
'
808
809
test_expect_success 'bisect terms shows good/bad after start' '
@@ -875,7 +875,7 @@ test_expect_success 'bisect start --term-* does store terms' '
875
Your current terms are two for the old state
876
and one for the new state.
877
EOF
878
- test_cmp expected actual &&
878
+ test_i18ncmp expected actual &&
879
git bisect terms --term-bad >actual &&
880
echo one >expected &&
881
test_cmp expected actual &&