Skip to content

Go 1.20 causes two unit test failures relating to bad URLs #2654

@gmlewis

Description

@gmlewis
$ go version
go version go1.20 linux/amd64

$ go test ./...
?   	github.com/google/go-github/v50/test/fields	[no test files]
?   	github.com/google/go-github/v50/test/integration	[no test files]
--- FAIL: TestActionsService_DownloadArtifact_invalidLocationHeader (0.00s)
    actions_artifacts_test.go:385: Expected URL parse error, got <nil>
--- FAIL: TestRepositoriesService_GetArchiveLink_invalidLocationHeader (0.00s)
    repos_contents_test.go:761: Expected URL parse error, got <nil>
FAIL
FAIL	github.com/google/go-github/v50/github	0.651s
FAIL

Investigating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions