Merge pull request #2949 from pre-commit/asottile-patch-1

update hello world go test
This commit is contained in:
Anthony Sottile 2023-08-01 12:17:31 -04:00 committed by GitHub
commit b2ff5e401b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@ def test_local_golang_additional_deps(tmp_path):
deps=('golang.org/x/example/hello@latest',),
)
assert ret == (0, b'Hello, Go examples!\n')
assert ret == (0, b'Hello, world!\n')
def test_golang_hook_still_works_when_gobin_is_set(tmp_path):