summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
authorAlexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>2019-12-31 10:15:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-01-15 20:14:20 (GMT)
commitd0d0a357a18c5ce2e9586db28de753309e19f282 (patch)
treee6fd3bd83be71f8ec32b3797092a8a5ad3b69022 /copy.c
parent568cabb2fed8e5e61057ac678a70a565dffd0763 (diff)
downloadgit-d0d0a357a18c5ce2e9586db28de753309e19f282.zip
git-d0d0a357a18c5ce2e9586db28de753309e19f282.tar.gz
git-d0d0a357a18c5ce2e9586db28de753309e19f282.tar.bz2
t: directly test parse_pathspec_file()
Previously, `parse_pathspec_file()` was tested indirectly by invoking git commands with properly crafted inputs. As demonstrated by the previous bugfix, testing complicated black boxes indirectly can lead to tests that silently test the wrong thing. Introduce direct tests for `parse_pathspec_file()`. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions