MCPcopy
hub / github.com/urfave/cli / TestBoolFlagHelpOutput

Function TestBoolFlagHelpOutput

flag_test.go:51–57  ·  flag_test.go::TestBoolFlagHelpOutput
(t *testing.T)

Source from the content-addressed store, hash-verified

49}
50
51func TestBoolFlagHelpOutput(t *testing.T) {
52 for _, test := range boolFlagTests {
53 fl := &BoolFlag{Name: test.name}
54 output := fl.String()
55 assert.Equal(t, test.expected, output)
56 }
57}
58
59func TestBoolFlagApply_SetsAllNames(t *testing.T) {
60 v := false

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected