mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix reference to github.com/golang/example
This commit is contained in:
parent
ebd83171df
commit
d57207510d
1 changed files with 2 additions and 2 deletions
|
|
@ -569,7 +569,7 @@ def test_additional_golang_dependencies_installed(
|
||||||
path = make_repo(tempdir_factory, 'golang_hooks_repo')
|
path = make_repo(tempdir_factory, 'golang_hooks_repo')
|
||||||
config = make_config_from_repo(path)
|
config = make_config_from_repo(path)
|
||||||
# A small go package
|
# A small go package
|
||||||
deps = ['github.com/golang/example/hello']
|
deps = ['golang.org/x/example/hello']
|
||||||
config['hooks'][0]['additional_dependencies'] = deps
|
config['hooks'][0]['additional_dependencies'] = deps
|
||||||
hook = _get_hook(config, store, 'golang-hook')
|
hook = _get_hook(config, store, 'golang-hook')
|
||||||
binaries = os.listdir(
|
binaries = os.listdir(
|
||||||
|
|
@ -590,7 +590,7 @@ def test_local_golang_additional_dependencies(store):
|
||||||
'name': 'hello',
|
'name': 'hello',
|
||||||
'entry': 'hello',
|
'entry': 'hello',
|
||||||
'language': 'golang',
|
'language': 'golang',
|
||||||
'additional_dependencies': ['github.com/golang/example/hello'],
|
'additional_dependencies': ['golang.org/x/example/hello'],
|
||||||
}],
|
}],
|
||||||
}
|
}
|
||||||
hook = _get_hook(config, store, 'hello')
|
hook = _get_hook(config, store, 'hello')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue