clean: replace match_pathspec() with dir_path_match()
[gitweb.git] / t / t7106-reset-unborn-branch.sh
index af00ab4d88cc75ec720e31da3a0d5d3a1ef8df40..0f95f004777ac3db191264fc5760c17bc1bdf77b 100755 (executable)
@@ -37,11 +37,12 @@ test_expect_success PERL 'reset -p' '
        rm .git/index &&
        git add a &&
        echo y >yes &&
-       git reset -p <yes &&
+       git reset -p <yes >output &&
 
        >expect &&
        git ls-files >actual &&
-       test_cmp expect actual
+       test_cmp expect actual &&
+       test_i18ngrep "Unstage" output
 '
 
 test_expect_success 'reset --soft is a no-op' '