diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-20 18:33:48 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 18:33:48 (GMT) |
commit | 14677d25ab50efcf57621ae69d6ba858a5f86165 (patch) | |
tree | c480f4a1ac902ab01d430b00e3dfbd2093b30d7a /t/t2202-add-addremove.sh | |
parent | 34f229790dcc7c7dc61bc37532f88fca39e36de2 (diff) | |
parent | d3c6751b18170276f80e3578d16877d43ad22709 (diff) | |
download | git-14677d25ab50efcf57621ae69d6ba858a5f86165.zip git-14677d25ab50efcf57621ae69d6ba858a5f86165.tar.gz git-14677d25ab50efcf57621ae69d6ba858a5f86165.tar.bz2 |
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
Diffstat (limited to 't/t2202-add-addremove.sh')
-rwxr-xr-x | t/t2202-add-addremove.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t2202-add-addremove.sh b/t/t2202-add-addremove.sh index 17744e8..9ee6590 100755 --- a/t/t2202-add-addremove.sh +++ b/t/t2202-add-addremove.sh @@ -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 |