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 /t/t7061-wtstatus-ignore.sh | |
parent | sparse-checkout: document interactions with submodules (diff) | |
download | tgif-522e6417487cc5c3f2f6d49c8f63554af63d8eda.tar.xz |
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 't/t7061-wtstatus-ignore.sh')
0 files changed, 0 insertions, 0 deletions