mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-26 09:08:25 -05:00
04de6a2e57
python 3.6 reached end of life on 2021-12-23
9 lines
195 B
Python
9 lines
195 B
Python
from __future__ import annotations
|
|
|
|
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'
|