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

Function TestGenericValue

flag_test.go:3503–3508  ·  flag_test.go::TestGenericValue
(t *testing.T)

Source from the content-addressed store, hash-verified

3501}
3502
3503func TestGenericValue(t *testing.T) {
3504 g := &genericValue{}
3505 assert.NoError(t, g.Set("something"))
3506 assert.Nil(t, g.Get())
3507 assert.Empty(t, g.String())
3508}
3509
3510func TestEndValue(t *testing.T) {
3511 cmd := buildMinimalTestCommand()

Callers

nothing calls this directly

Calls 3

SetMethod · 0.95
GetMethod · 0.95
StringMethod · 0.95

Tested by

no test coverage detected