mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Flush stderr, and formatting
This commit is contained in:
parent
35c76c4f33
commit
27cd688c8e
2 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,8 @@ def test_badfile_main():
|
|||
def test_diffing_output(capsys):
|
||||
resource_path = get_resource_path('not_pretty_formatted_json.json')
|
||||
expected_retval = 1
|
||||
expected_out = ''' {
|
||||
expected_out = '''\
|
||||
{
|
||||
- "foo":
|
||||
- "bar",
|
||||
- "alist": [2, 34, 234],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue