mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add language_version to the manifest loader.
This commit is contained in:
parent
914a74f80b
commit
4f2f1731ea
3 changed files with 5 additions and 0 deletions
|
|
@ -1,8 +1,10 @@
|
|||
import os.path
|
||||
|
||||
from pre_commit.languages.ruby import _install_rbenv
|
||||
from testing.util import skipif_slowtests_false
|
||||
|
||||
|
||||
@skipif_slowtests_false
|
||||
def test_install_rbenv(cmd_runner):
|
||||
_install_rbenv(cmd_runner)
|
||||
# Should have created rbenv directory
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ def test_manifest_contents(manifest):
|
|||
'expected_return_value': 0,
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
'name': 'Bash hook',
|
||||
}]
|
||||
|
||||
|
|
@ -30,5 +31,6 @@ def test_hooks(manifest):
|
|||
'expected_return_value': 0,
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
'name': 'Bash hook',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue