mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fd1cfc60bf
commit
0b468953be
2 changed files with 4 additions and 4 deletions
|
|
@ -111,7 +111,7 @@ def test_install_hooks_dead_symlink(in_git_dir, store):
|
|||
|
||||
def test_install_hooks_symlink_outisde_git_repo(in_git_dir, store):
|
||||
hook_dir = in_git_dir.join('.git/hooks')
|
||||
hook_dir.mksymlinkto(in_git_dir.join("../hooks"))
|
||||
hook_dir.mksymlinkto(in_git_dir.join('../hooks'))
|
||||
hook = hook_dir.join('pre-commit')
|
||||
assert install(C.CONFIG_FILE, store, hook_types=['pre-commit']) != 0
|
||||
assert not hook.exists()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue