Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-06-20 12:55:20 +0300
committerJunio C Hamano <gitster@pobox.com>2019-06-20 23:31:20 +0300
commitbcba406532725fcdf17d5a3d9c6585e8fc879021 (patch)
treecbb91ad0d3bc6896a72afd000487878034294ee9 /t/t2070-restore.sh
parent4e43b7ff1ea4b6f16b93a432b6718e9ab38749bd (diff)
t2027: use test_must_be_empty
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2070-restore.sh')
-rwxr-xr-xt/t2070-restore.sh5
1 files changed, 2 insertions, 3 deletions
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
)
'