Skip to content

Commit 8bbfcf1

Browse files
committed
remove redundant system spaces test
`test_args_with_spaces_and_quotes` also covers this behaviour
1 parent 65175f3 commit 8bbfcf1

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

testing/resources/system_hook_with_spaces_repo/.pre-commit-hooks.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/repository_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ def _test_hook_repo(
8080
assert out == expected
8181

8282

83-
def test_system_hook_with_spaces(tempdir_factory, store):
84-
_test_hook_repo(
85-
tempdir_factory, store, 'system_hook_with_spaces_repo',
86-
'system-hook-with-spaces', [os.devnull], b'Hello World\n',
87-
)
88-
89-
9083
def test_missing_executable(tempdir_factory, store):
9184
_test_hook_repo(
9285
tempdir_factory, store, 'not_found_exe',

0 commit comments

Comments
 (0)