File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ test_branch_upstream () {
24
24
}
25
25
26
26
status_uno_is_clean () {
27
- > status.expect &&
28
27
git status -uno --porcelain > status.actual &&
29
- test_cmp status.expect status.actual
28
+ test_must_be_empty status.actual
30
29
}
31
30
32
31
test_expect_success ' setup' '
Original file line number Diff line number Diff line change @@ -412,9 +412,8 @@ test_expect_success '"add" <path> <branch> dwims with checkout.defaultRemote' '
412
412
git fetch repo_upstream2 &&
413
413
test_must_fail git worktree add ../foo foo &&
414
414
git -c checkout.defaultRemote=repo_upstream worktree add ../foo foo &&
415
- >status.expect &&
416
415
git status -uno --porcelain >status.actual &&
417
- test_cmp status.expect status.actual
416
+ test_must_be_empty status.actual
418
417
) &&
419
418
(
420
419
cd foo &&
You can’t perform that action at this time.
0 commit comments