mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
Remove expected_return_value. Resolves #232
This commit is contained in:
parent
3472f2b3ce
commit
67ad0d2d8e
5 changed files with 2 additions and 7 deletions
|
|
@ -77,7 +77,6 @@ def test_additional_manifest_failing(obj):
|
|||
'language': 'python',
|
||||
'language_version': 'python3.3',
|
||||
'files': r'\.py$',
|
||||
'expected_return_value': 0,
|
||||
}],
|
||||
True,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -476,8 +476,7 @@ def test_local_hook_fails(
|
|||
('hooks', [OrderedDict((
|
||||
('id', 'no-todo'),
|
||||
('name', 'No TODO'),
|
||||
('entry', 'grep -iI todo'),
|
||||
('expected_return_value', 1),
|
||||
('entry', 'sh -c "! grep -iI todo $@" --'),
|
||||
('language', 'system'),
|
||||
('files', ''),
|
||||
))])
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ def test_manifest_contents(manifest):
|
|||
'description': '',
|
||||
'entry': 'bin/hook.sh',
|
||||
'exclude': '^$',
|
||||
'expected_return_value': 0,
|
||||
'files': '',
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
|
|
@ -39,7 +38,6 @@ def test_hooks(manifest):
|
|||
'description': '',
|
||||
'entry': 'bin/hook.sh',
|
||||
'exclude': '^$',
|
||||
'expected_return_value': 0,
|
||||
'files': '',
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue