Adding upstream version 2.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
18c908e4f3
commit
c0d06915b7
199 changed files with 14930 additions and 0 deletions
6
tests/meta_hooks/identity_test.py
Normal file
6
tests/meta_hooks/identity_test.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from pre_commit.meta_hooks import identity
|
||||
|
||||
|
||||
def test_identity(cap_out):
|
||||
assert not identity.main(('a', 'b', 'c'))
|
||||
assert cap_out.get() == 'a\nb\nc\n'
|
Loading…
Add table
Add a link
Reference in a new issue