mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Remove unnecessary double printing of filename
This commit is contained in:
parent
49f8b48f2e
commit
86a010b750
2 changed files with 1 additions and 9 deletions
|
|
@ -131,11 +131,9 @@ def test_diffing_output(capsys):
|
|||
+ "foo": "bar"
|
||||
}}
|
||||
'''.format(a, b)
|
||||
expected_err = 'File {} is not pretty-formatted\n'.format(resource_path)
|
||||
|
||||
actual_retval = main([resource_path])
|
||||
actual_out, actual_err = capsys.readouterr()
|
||||
|
||||
assert actual_retval == expected_retval
|
||||
assert actual_out == expected_out
|
||||
assert actual_err == expected_err
|
||||
assert actual_err == ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue