Skip to content

Commit bcba406

Browse files
pcloudsgitster
authored andcommitted
t2027: use test_must_be_empty
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4e43b7f commit bcba406

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/t2070-restore.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,8 @@ test_expect_success 'restore --ignore-unmerged ignores unmerged entries' '
9090
9191
git restore --ignore-unmerged --quiet . >output 2>&1 &&
9292
git diff common >diff-output &&
93-
: >empty &&
94-
test_cmp empty output &&
95-
test_cmp empty diff-output
93+
test_must_be_empty output &&
94+
test_must_be_empty diff-output
9695
)
9796
'
9897

0 commit comments

Comments
 (0)