mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 12:54:17 +00:00
Merge pull request #601 from ibLeDy/fix/check-json-hook-failing
Fix `check-json` failing on ci runs
This commit is contained in:
commit
dd3444783f
2 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ from testing.util import get_resource_path
|
||||||
('bad_json.notjson', 1),
|
('bad_json.notjson', 1),
|
||||||
('bad_json_latin1.nonjson', 1),
|
('bad_json_latin1.nonjson', 1),
|
||||||
('ok_json.json', 0),
|
('ok_json.json', 0),
|
||||||
('duplicate_key_json.json', 1),
|
('duplicate_key_json.notjson', 1),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
def test_main(capsys, filename, expected_retval):
|
def test_main(capsys, filename, expected_retval):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue