t/t7003-filter-branch.sh: use the $( ... ) construct for command substitution
[gitweb.git] / t / t9903-bash-prompt.sh
index 2c9d1f928ae4a0ec9db6ee2fb6c26e986a27ce3c..af82049f82e89c3275c0f1e6c5da9d7f9c7041f5 100755 (executable)
@@ -285,7 +285,7 @@ test_expect_success 'prompt - dirty status indicator - orphan branch - clean' '
        test_cmp expected "$actual"
 '
 
-test_expect_failure 'prompt - dirty status indicator - orphan branch - dirty index' '
+test_expect_success 'prompt - dirty status indicator - orphan branch - dirty index' '
        printf " (orphan +)" >expected &&
        test_when_finished "git checkout master" &&
        git checkout --orphan orphan &&
@@ -296,7 +296,7 @@ test_expect_failure 'prompt - dirty status indicator - orphan branch - dirty ind
        test_cmp expected "$actual"
 '
 
-test_expect_failure 'prompt - dirty status indicator - orphan branch - dirty index and worktree' '
+test_expect_success 'prompt - dirty status indicator - orphan branch - dirty index and worktree' '
        printf " (orphan *+)" >expected &&
        test_when_finished "git checkout master" &&
        git checkout --orphan orphan &&