MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / isTestEnvironment

Function isTestEnvironment

squash_wip.go:82–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func isTestEnvironment() bool {
83 cliName := currentCliName(os.Args[0])
84 return strings.HasSuffix(cliName, ".test") ||
85 strings.HasSuffix(cliName, "_test") ||
86 os.Args[1] == "-test.v"
87}
88
89// used for non-interactive fixing of commit messages of squashed commits
90func squashWipGitEditor(fileName string, configuration config.Configuration) {

Callers 1

mobExecutableFunction · 0.85

Calls 1

currentCliNameFunction · 0.85

Tested by

no test coverage detected