mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-17 22:40:11 -06:00
7 lines
159 B
Python
7 lines
159 B
Python
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'
|