File size: 159 Bytes
03c4799
 
 
 
 
 
1
2
3
4
5
6
7
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'