pretty: --format output should honor logOutputEncoding
[gitweb.git] / t / t0008-ignores.sh
index ebe7c701fece257db1defdbbcd2b43105956875b..9c1bde1fd6e6424f7af732556656a9daf9be350b 100755 (executable)
@@ -138,6 +138,7 @@ test_expect_success 'setup' '
        cat <<-\EOF >.gitignore &&
                one
                ignored-*
+               top-level-dir/
        EOF
        for dir in . a
        do
@@ -177,6 +178,10 @@ test_expect_success 'setup' '
 #
 # test invalid inputs
 
+test_expect_success_multi '. corner-case' '' '
+       test_check_ignore . 1
+'
+
 test_expect_success_multi 'empty command line' '' '
        test_check_ignore "" 128 &&
        stderr_contains "fatal: no path specified"