Merge branch 'sg/t0020-conversion-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2018 21:33:46 +0000 (14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2018 21:33:47 +0000 (14:33 -0700)
Test fixes.

* sg/t0020-conversion-fix:
t0020-crlf: check the right file

t/t0020-crlf.sh
index 5f056982a53b62810192fc8bbb5dbb6d784fb1a2..854da0ae16f8c437c239a0a4e16f1549d87521a2 100755 (executable)
@@ -160,7 +160,7 @@ test_expect_success 'checkout with autocrlf=input' '
        git config core.autocrlf input &&
        git read-tree --reset -u HEAD &&
        test_must_fail has_cr one &&
-       test_must_fail has_cr two &&
+       test_must_fail has_cr dir/two &&
        git update-index -- one dir/two &&
        test "$one" = $(git hash-object --stdin <one) &&
        test "$two" = $(git hash-object --stdin <dir/two) &&