diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2020-01-24 21:19:31 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-01-24 13:26:54 -0800 |
| commit | 522e6417487cc5c3f2f6d49c8f63554af63d8eda (patch) | |
| tree | 9bfbd74d933f45d7a0c851292647a48620f244b1 /contrib/persistent-https | |
| parent | 4fd683b6a35eabd23dd5183da7f654a1e1f00325 (diff) | |
| download | git-522e6417487cc5c3f2f6d49c8f63554af63d8eda.tar.gz git-522e6417487cc5c3f2f6d49c8f63554af63d8eda.zip | |
t1091: use check_files to reduce boilerplate
When testing the sparse-checkout feature, we need to compare the
contents of the working-directory against some expected output.
Using here-docs was useful in the beginning, but became repetetive
as the test script grew.
Create a check_files helper to make the tests simpler and easier
to extend. It also reduces instances of bad here-doc whitespace.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
