Merge branch 'jn/warn-on-inaccessible-loosen'
[gitweb.git] / t / t2020-checkout-detach.sh
index f63333b64e2984c609bde2a562bfcdbf05f8b88e..5d68729d7a65abde09d1293e8569b730d2ba9a40 100755 (executable)
@@ -151,6 +151,7 @@ test_expect_success 'checkout does not warn leaving reachable commit' '
 
 cat >expect <<'EOF'
 Your branch is behind 'master' by 1 commit, and can be fast-forwarded.
+  (use "git pull" to update your local branch)
 EOF
 test_expect_success 'tracking count is accurate after orphan check' '
        reset &&
@@ -159,7 +160,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