Skip to content

Refactor WithEnterpriseURLs helper #3870

@stevehipwell

Description

@stevehipwell

The current implementation of the WithEnterpriseURLs helper doesn't function as expected and doesn't appear to support GitHub Enterprise Cloud. For example testing the path of a url.URL can't assume that there will be slashes at either end. It also looks like this helper is expected to work correctly with standard GitHub URLs, so maybe it should be renamed to WithURLs and have the implementation fixed?

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