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

Function TestUintFlagHelpOutput

flag_test.go:931–936  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

929}
930
931func TestUintFlagHelpOutput(t *testing.T) {
932 for _, test := range uintFlagTests {
933 fl := &Uint64Flag{Name: test.name, Value: 41}
934 assert.Equal(t, test.expected, fl.String())
935 }
936}
937
938func TestUintFlagWithEnvVarHelpOutput(t *testing.T) {
939 t.Setenv("APP_BAR", "2")

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected