MCPcopy
hub / github.com/spf13/pflag / isGotestFlag

Function isGotestFlag

golangflag.go:15–17  ·  view source on GitHub ↗

go test flags prefixes

(flag string)

Source from the content-addressed store, hash-verified

13
14// go test flags prefixes
15func isGotestFlag(flag string) bool {
16 return strings.HasPrefix(flag, "-test.")
17}
18
19func isGotestShorthandFlag(flag string) bool {
20 return strings.HasPrefix(flag, "test.")

Callers 1

ParseSkippedFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected