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

Skip to content

Commit d572075

Browse files
committed
fix reference to github.com/golang/example
1 parent ebd8317 commit d572075

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)