mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
Add test case for blacklisted branch master
Improve code coverage
This commit is contained in:
parent
3575cf7c02
commit
17820d7d83
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ TESTS = (
|
||||||
'test', # this should not trigger anything
|
'test', # this should not trigger anything
|
||||||
'prepare_commit_msg_prepend.j2',
|
'prepare_commit_msg_prepend.j2',
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
b'',
|
||||||
|
b'',
|
||||||
|
'master', # this should not trigger anything
|
||||||
|
'prepare_commit_msg_prepend.j2',
|
||||||
|
),
|
||||||
(
|
(
|
||||||
b'',
|
b'',
|
||||||
b'[1.0.0] ',
|
b'[1.0.0] ',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue