My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e43b7f
)
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
diff --git
a/t/t2070-restore.sh
b/t/t2070-restore.sh
index
73ea13e
..
2650df1
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
)
'