Merge branch 'ab/test-must-be-empty-for-master'

Test updates.

* ab/test-must-be-empty-for-master:
  tests: make use of the test_must_be_empty function
This commit is contained in:
Junio C Hamano
2018-08-20 11:33:48 -07:00
45 changed files with 111 additions and 205 deletions

View File

@@ -74,8 +74,7 @@ test_expect_success 'diff-tree pathspec' '
tree2=$(git write-tree) &&
echo "$tree2" &&
git diff-tree -r --name-only $tree $tree2 -- pa path1/a >current &&
>expected &&
test_cmp expected current
test_must_be_empty current
'
test_expect_success 'diff-tree with wildcard shows dir also matches' '