Documentation ¶
Index ¶
- func AssertFile(t *testing.T, filename string, wantExecutable, wantLink bool) bool
- func BindownBin() string
- func CheckGoldenDir(t *testing.T, resultDir, goldenDir string)
- func RepoRoot() string
- func ServeFile(t *testing.T, file, path, query string) *httptest.Server
- func ServeFiles(t *testing.T, files map[string]string) *httptest.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertFile ¶ added in v4.11.0
AssertFile asserts that the file at filename exists and has the given properties.
func BindownBin ¶ added in v4.11.0
func BindownBin() string
func CheckGoldenDir ¶ added in v4.11.0
func RepoRoot ¶ added in v4.11.0
func RepoRoot() string
RepoRoot returns the absolute path to the root of this repo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.