diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-04-13 23:45:31 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-14 16:16:55 -0700 |
commit | 76642ccec813a1cc2ca1bf9539abeb5f17764808 (patch) | |
tree | ed6bfc6d8e3f3f883bf65b01a19c64de82d1e48d /t/t2020-checkout-detach.sh | |
parent | fdec2eb8ebbf995a77e2ab9971565c792b52944a (diff) | |
download | git-76642ccec813a1cc2ca1bf9539abeb5f17764808.tar.gz |
test: do not rely on US English tracking-info messages
When v1.7.9.2~28^2 (2012-02-02) marked "Your branch is behind" and
friends for translation, it forgot to adjust tests not to check those
messages when tests are being run with git configured to write its
output in another language.
With this patch applied, t2020 and t6040 pass again with
GETTEXT_POISON=YesPlease.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Explained-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2020-checkout-detach.sh')
-rwxr-xr-x | t/t2020-checkout-detach.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2020-checkout-detach.sh b/t/t2020-checkout-detach.sh index 068fba4c8e..b37ce25c42 100755 --- a/t/t2020-checkout-detach.sh +++ b/t/t2020-checkout-detach.sh @@ -148,7 +148,7 @@ test_expect_success 'tracking count is accurate after orphan check' ' git config branch.child.merge refs/heads/master && git checkout child^ && git checkout child >stdout && - test_cmp expect stdout + test_i18ncmp expect stdout ' test_done |