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

Function TestArgNotSet

args_test.go:11–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestArgNotSet(t *testing.T) {
12 arg := &StringArg{
13 Name: "sa",
14 Value: "foo",
15 }
16
17 require.Equal(t, "foo", arg.Get())
18}
19
20func TestArgsMaxNotSet(t *testing.T) {
21 arg := &StringArgs{

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected