mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #2527 from chrisRedwine/remove-extraneous-raw-string-literal
remove extraneous raw string literal in test
This commit is contained in:
commit
3610087fab
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def test_validate_optional_sensible_regex_at_hook(caplog, regex, warning):
|
||||||
|
|
||||||
def test_validate_optional_sensible_regex_at_local_hook(caplog):
|
def test_validate_optional_sensible_regex_at_local_hook(caplog):
|
||||||
config_obj = sample_local_config()
|
config_obj = sample_local_config()
|
||||||
config_obj['hooks'][0]['files'] = r'dir/*.py'
|
config_obj['hooks'][0]['files'] = 'dir/*.py'
|
||||||
|
|
||||||
cfgv.validate(config_obj, CONFIG_REPO_DICT)
|
cfgv.validate(config_obj, CONFIG_REPO_DICT)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue