提交 bcba4065 编写于 作者: N Nguyễn Thái Ngọc Duy 提交者: Junio C Hamano

t2027: use test_must_be_empty

Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 4e43b7ff
......@@ -90,9 +90,8 @@ test_expect_success 'restore --ignore-unmerged ignores unmerged entries' '
git restore --ignore-unmerged --quiet . >output 2>&1 &&
git diff common >diff-output &&
: >empty &&
test_cmp empty output &&
test_cmp empty diff-output
test_must_be_empty output &&
test_must_be_empty diff-output
)
'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册