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

Function TestStringSliceFlagHelpOutput

flag_test.go:780–785  ·  flag_test.go::TestStringSliceFlagHelpOutput
(t *testing.T)

Source from the content-addressed store, hash-verified

778}
779
780func TestStringSliceFlagHelpOutput(t *testing.T) {
781 for _, test := range stringSliceFlagTests {
782 f := &StringSliceFlag{Name: test.name, Aliases: test.aliases, Value: test.value}
783 assert.Equal(t, test.expected, f.String())
784 }
785}
786
787func TestStringSliceFlagWithEnvVarHelpOutput(t *testing.T) {
788 t.Setenv("APP_QWWX", "11,4")

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected