diff options
author | Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> | 2019-12-31 10:15:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 12:14:20 -0800 |
commit | d0d0a357a18c5ce2e9586db28de753309e19f282 (patch) | |
tree | e6fd3bd83be71f8ec32b3797092a8a5ad3b69022 /git-web--browse.sh | |
parent | t: fix quotes tests for --pathspec-from-file (diff) | |
download | tgif-d0d0a357a18c5ce2e9586db28de753309e19f282.tar.xz |
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 'git-web--browse.sh')
0 files changed, 0 insertions, 0 deletions