mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #1769 from pre-commit/fix_golang_hello_example
fix reference to github.com/golang/example
This commit is contained in:
commit
bb50e00447
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')
|
||||
config = make_config_from_repo(path)
|
||||
# A small go package
|
||||
deps = ['github.com/golang/example/hello']
|
||||
deps = ['golang.org/x/example/hello']
|
||||
config['hooks'][0]['additional_dependencies'] = deps
|
||||
hook = _get_hook(config, store, 'golang-hook')
|
||||
binaries = os.listdir(
|
||||
|
|
@ -590,7 +590,7 @@ def test_local_golang_additional_dependencies(store):
|
|||
'name': 'hello',
|
||||
'entry': 'hello',
|
||||
'language': 'golang',
|
||||
'additional_dependencies': ['github.com/golang/example/hello'],
|
||||
'additional_dependencies': ['golang.org/x/example/hello'],
|
||||
}],
|
||||
}
|
||||
hook = _get_hook(config, store, 'hello')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue