mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Change Rust to install environment with cargo add over toml
This commit is contained in:
parent
5c9e844104
commit
e703982de4
3 changed files with 12 additions and 17 deletions
|
|
@ -485,7 +485,7 @@ def test_additional_rust_lib_dependencies_installed(
|
|||
path = make_repo(tempdir_factory, 'rust_hooks_repo')
|
||||
config = make_config_from_repo(path)
|
||||
# A small rust package with no dependencies.
|
||||
deps = ['shellharden:3.1.0']
|
||||
deps = ['shellharden:3.1.0', 'git-version']
|
||||
config['hooks'][0]['additional_dependencies'] = deps
|
||||
hook = _get_hook(config, store, 'rust-hook')
|
||||
binaries = os.listdir(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue