diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-20 11:33:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 11:33:48 -0700 |
commit | 14677d25ab50efcf57621ae69d6ba858a5f86165 (patch) | |
tree | c480f4a1ac902ab01d430b00e3dfbd2093b30d7a /t/t0300-credentials.sh | |
parent | Merge branch 'ab/newhash-is-sha256' (diff) | |
parent | tests: make use of the test_must_be_empty function (diff) | |
download | tgif-14677d25ab50efcf57621ae69d6ba858a5f86165.tar.xz |
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/t0300-credentials.sh')
-rwxr-xr-x | t/t0300-credentials.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t0300-credentials.sh b/t/t0300-credentials.sh index 03bd31e9f2..82eaaea0f4 100755 --- a/t/t0300-credentials.sh +++ b/t/t0300-credentials.sh @@ -294,8 +294,7 @@ test_expect_success 'helpers can abort the process' ' -c credential.helper="!f() { echo quit=1; }; f" \ -c credential.helper="verbatim foo bar" \ credential fill >stdout && - >expect && - test_cmp expect stdout + test_must_be_empty stdout ' test_expect_success 'empty helper spec resets helper list' ' |