aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorAlexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>2019-12-31 10:15:12 +0000
committerJunio C Hamano <gitster@pobox.com>2020-01-15 12:14:20 -0800
commitd0d0a357a18c5ce2e9586db28de753309e19f282 (patch)
treee6fd3bd83be71f8ec32b3797092a8a5ad3b69022 /builtin/commit.c
parentt: fix quotes tests for --pathspec-from-file (diff)
downloadgit-d0d0a357a18c5ce2e9586db28de753309e19f282.tar.gz
git-d0d0a357a18c5ce2e9586db28de753309e19f282.zip
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions