mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Make verbose output less special
This commit is contained in:
parent
74fd04c67e
commit
01a628d96d
8 changed files with 99 additions and 108 deletions
|
|
@ -178,6 +178,10 @@ def test_xargs_retcode_normal():
|
|||
ret, _ = xargs.xargs(exit_cmd, ('0', '1'), _max_length=max_length)
|
||||
assert ret == 1
|
||||
|
||||
# takes the maximum return code
|
||||
ret, _ = xargs.xargs(exit_cmd, ('0', '5', '1'), _max_length=max_length)
|
||||
assert ret == 5
|
||||
|
||||
|
||||
def test_xargs_concurrency():
|
||||
bash_cmd = parse_shebang.normalize_cmd(('bash', '-c'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue