Merge pull request #3574 from pre-commit/rm-hook-with-spaces-test

remove redundant system spaces test
This commit is contained in:
anthony sottile 2025-11-08 13:24:42 -05:00 committed by GitHub
commit 5e4b3546f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View file

@ -1,5 +0,0 @@
- id: system-hook-with-spaces
name: System hook with spaces
entry: bash -c 'echo "Hello World"'
language: system
files: \.sh$

View file

@ -80,13 +80,6 @@ def _test_hook_repo(
assert out == expected
def test_system_hook_with_spaces(tempdir_factory, store):
_test_hook_repo(
tempdir_factory, store, 'system_hook_with_spaces_repo',
'system-hook-with-spaces', [os.devnull], b'Hello World\n',
)
def test_missing_executable(tempdir_factory, store):
_test_hook_repo(
tempdir_factory, store, 'not_found_exe',