]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7300-clean.sh
dir: also check directories for matching pathspecs
[thirdparty/git.git] / t / t7300-clean.sh
index 2c254c773cb3e081f4b976627b198ed27c7aaed4..12617158db4a9a9184f22587ddbbe59c5d966d8a 100755 (executable)
@@ -699,7 +699,7 @@ test_expect_failure 'git clean handles being told what to clean' '
        test_path_is_missing d2/ut
 '
 
-test_expect_failure 'git clean handles being told what to clean, with -d' '
+test_expect_success 'git clean handles being told what to clean, with -d' '
        mkdir -p d1 d2 &&
        touch d1/ut d2/ut &&
        git clean -ffd */ut &&
@@ -715,7 +715,7 @@ test_expect_failure 'git clean works if a glob is passed without -d' '
        test_path_is_missing d2/ut
 '
 
-test_expect_failure 'git clean works if a glob is passed with -d' '
+test_expect_success 'git clean works if a glob is passed with -d' '
        mkdir -p d1 d2 &&
        touch d1/ut d2/ut &&
        git clean -ffd "*ut" &&