mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fixes for cfgv>=2
This commit is contained in:
parent
099f521b7e
commit
625750eeef
5 changed files with 17 additions and 13 deletions
|
|
@ -588,7 +588,7 @@ def test_unknown_keys(store, fake_log_handler):
|
|||
}],
|
||||
}
|
||||
_get_hook(config, store, 'too-much')
|
||||
expected = 'Unexpected keys present on local => too-much: foo, hello'
|
||||
expected = 'Unexpected key(s) present on local => too-much: foo, hello'
|
||||
assert fake_log_handler.handle.call_args[0][0].msg == expected
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue