Documentation
¶
Overview ¶
Package githubtest gives tests the GitHub forge's default repo and pull request URL rules, on https://github.com and without a client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Forge = newForge() //nolint:gochecknoglobals // test fixture
Forge is the GitHub forge on the default GITHUB_URL, https://github.com, without a client: its ParsePRURL and ParseRepoURL are the default repo and pull request URL rules.
Functions ¶
This section is empty.
Types ¶
type URLs ¶
type URLs struct{}
URLs gives a forge fake the default repo and pull request URL rules: its ParseRepoURL and ParsePRURL are those of Forge. Embed it.
func (URLs) ParsePRURL ¶
ParsePRURL is Forge's ParsePRURL.