Skip to content

Commit 6b3d83e

Browse files
avargitster
authored andcommitted
t2019-checkout-ambiguous-ref.sh: depend on C_LOCALE_OUTPUT
The t2019-checkout-ambiguous-ref.sh tests added in v1.7.4.3~12^2 examines the output for a translatable string, and must be marked with C_LOCALE_OUTPUT; otherwise, GETTEXT_POISON=YesPlease tests will break. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 13ee138 commit 6b3d83e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t2019-checkout-ambiguous-ref.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test_expect_success 'checkout chooses branch over tag' '
2929
test_cmp expect file
3030
'
3131

32-
test_expect_success 'checkout reports switch to branch' '
32+
test_expect_success C_LOCALE_OUTPUT 'checkout reports switch to branch' '
3333
grep "Switched to branch" stderr &&
3434
! grep "^HEAD is now at" stderr
3535
'
@@ -51,7 +51,7 @@ test_expect_success VAGUENESS_SUCCESS 'checkout chooses branch over tag' '
5151
test_cmp expect file
5252
'
5353

54-
test_expect_success VAGUENESS_SUCCESS 'checkout reports switch to branch' '
54+
test_expect_success VAGUENESS_SUCCESS,C_LOCALE_OUTPUT 'checkout reports switch to branch' '
5555
grep "Switched to branch" stderr &&
5656
! grep "^HEAD is now at" stderr
5757
'

0 commit comments

Comments
 (0)