Change Rust to install environment with cargo add over toml

This commit is contained in:
marsha 2022-10-28 20:23:00 -05:00
parent 5c9e844104
commit e703982de4
3 changed files with 12 additions and 17 deletions

View file

@ -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(