Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t2027: use test_must_be_empty
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Thu, 20 Jun 2019 09:55:20 +0000
(16:55 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 20 Jun 2019 20:31:20 +0000
(13:31 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2070-restore.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
4e43b7f
)
diff --git
a/t/t2070-restore.sh
b/t/t2070-restore.sh
index 73ea13ede91c03e87e7af2a37f45032669ecda7b..2650df196670b8a98d7ba558b108e2d07697dfdc 100755
(executable)
--- 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
)
'