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

Function TestUint64FlagHelpOutput

flag_test.go:971–976  ·  flag_test.go::TestUint64FlagHelpOutput
(t *testing.T)

Source from the content-addressed store, hash-verified

969}
970
971func TestUint64FlagHelpOutput(t *testing.T) {
972 for _, test := range uint64FlagTests {
973 fl := Uint64Flag{Name: test.name, Value: 8589934582}
974 assert.Equal(t, test.expected, fl.String())
975 }
976}
977
978func TestUint64FlagWithEnvVarHelpOutput(t *testing.T) {
979 t.Setenv("APP_BAR", "2")

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected