mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #2137 from pre-commit/upgrade-perl-tidy
bump perltidy version
This commit is contained in:
commit
b300116adc
1 changed files with 2 additions and 2 deletions
|
|
@ -1021,13 +1021,13 @@ def test_local_perl_additional_dependencies(store):
|
||||||
'name': 'hello',
|
'name': 'hello',
|
||||||
'entry': 'perltidy --version',
|
'entry': 'perltidy --version',
|
||||||
'language': 'perl',
|
'language': 'perl',
|
||||||
'additional_dependencies': ['SHANCOCK/Perl-Tidy-20200110.tar.gz'],
|
'additional_dependencies': ['SHANCOCK/Perl-Tidy-20211029.tar.gz'],
|
||||||
}],
|
}],
|
||||||
}
|
}
|
||||||
hook = _get_hook(config, store, 'hello')
|
hook = _get_hook(config, store, 'hello')
|
||||||
ret, out = _hook_run(hook, (), color=False)
|
ret, out = _hook_run(hook, (), color=False)
|
||||||
assert ret == 0
|
assert ret == 0
|
||||||
assert _norm_out(out).startswith(b'This is perltidy, v20200110')
|
assert _norm_out(out).startswith(b'This is perltidy, v20211029')
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue