Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb50e00

Browse files
authored
Merge pull request #1769 from pre-commit/fix_golang_hello_example
fix reference to github.com/golang/example
2 parents ebd8317 + d572075 commit bb50e00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/repository_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def test_additional_golang_dependencies_installed(
569569
path = make_repo(tempdir_factory, 'golang_hooks_repo')
570570
config = make_config_from_repo(path)
571571
# A small go package
572-
deps = ['github.com/golang/example/hello']
572+
deps = ['golang.org/x/example/hello']
573573
config['hooks'][0]['additional_dependencies'] = deps
574574
hook = _get_hook(config, store, 'golang-hook')
575575
binaries = os.listdir(
@@ -590,7 +590,7 @@ def test_local_golang_additional_dependencies(store):
590590
'name': 'hello',
591591
'entry': 'hello',
592592
'language': 'golang',
593-
'additional_dependencies': ['github.com/golang/example/hello'],
593+
'additional_dependencies': ['golang.org/x/example/hello'],
594594
}],
595595
}
596596
hook = _get_hook(config, store, 'hello')

0 commit comments

Comments
 (0)