mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 02:16:52 +00:00
Rename file causing check-json to fail
- `mv duplicated_key_json.{json,notjson}`
- change reference to the file in `tests/check_json_test.py`
Fixes #600
This commit is contained in:
parent
9cc62e1a63
commit
fed8b6debb
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_latin1.nonjson', 1),
|
||||
('ok_json.json', 0),
|
||||
('duplicate_key_json.json', 1),
|
||||
('duplicate_key_json.notjson', 1),
|
||||
),
|
||||
)
|
||||
def test_main(capsys, filename, expected_retval):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue