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

@ -48,8 +48,7 @@ test_expect_success 'Just "git add" is a no-op' '
>will-not-be-added &&
git add &&
git diff-index --name-status --cached HEAD >actual &&
>expect &&
test_cmp expect actual
test_must_be_empty actual
'
test_done