mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
git mv pre_commit/resources/pre-commit.sh pre_commit/resources/pre-commit-hook
This commit is contained in:
parent
39470c98ca
commit
a744a6484e
4 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ def test_install_pre_commit(tmpdir_factory):
|
|||
assert os.path.exists(runner.pre_commit_path)
|
||||
pre_commit_contents = io.open(runner.pre_commit_path).read()
|
||||
pre_commit_sh = pkg_resources.resource_filename(
|
||||
'pre_commit', 'resources/pre-commit.sh',
|
||||
'pre_commit', 'resources/pre-commit-hook',
|
||||
)
|
||||
expected_contents = io.open(pre_commit_sh).read()
|
||||
assert pre_commit_contents == expected_contents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue