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

Function boolString

flag_test.go:35–40  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

33)
34
35func boolString(s string) string {
36 if s == "0" {
37 return "false"
38 }
39 return "true"
40}
41
42func TestEverything(t *testing.T) {
43 m := make(map[string]*Flag)

Callers 1

TestEverythingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected