diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-02 10:23:41 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-02 10:23:41 +0100 |
| commit | 0d3ce2ac3f21f7b1af02c64a6c2ba0e9e59eea29 (patch) | |
| tree | f1ef10a7d73ffdd96791e8992714e8e3153693f1 /tests/diff/parse.c | |
| parent | d4b953f80005bc08c790ffe3ef0776ced370706c (diff) | |
| download | libgit2-0d3ce2ac3f21f7b1af02c64a6c2ba0e9e59eea29.tar.gz | |
offer exact name matching with a `$` suffixethomson/clar_exactmatch
When using `-s` to specify a particular test, it will do a prefix match.
Thus, `-sapply::both::rename_a_to_b_to_c` will match both a test named
`test_apply_both__rename_a_to_b_to_c` and a test that begins with that
name, like `test_apply_both__rename_a_to_b_to_c_exact`.
Permit a trailing `$` to `-s` syntax. This allows a user to specify
`-sapply::both::rename_a_to_b_to_c$` to match _only_ the
`test_apply_both__rename_a_to_b_to_c` function.
We already filter to ensure that the given prefix matches the current
test name. Also ensure that the length of the test name matches the
length of the filter, sans trailing `$`.
Diffstat (limited to 'tests/diff/parse.c')
0 files changed, 0 insertions, 0 deletions
