From: Nguyễn Thái Ngọc Duy Date: Thu, 20 Jun 2019 09:55:20 +0000 (+0700) Subject: t2027: use test_must_be_empty X-Git-Tag: v2.23.0-rc0~64^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcba406532725fcdf17d5a3d9c6585e8fc879021;p=git t2027: use test_must_be_empty Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/t/t2070-restore.sh b/t/t2070-restore.sh index 73ea13ede9..2650df1966 100755 --- a/t/t2070-restore.sh +++ b/t/t2070-restore.sh @@ -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 ) '