MCPcopy Create free account
hub / github.com/larksuite/cli / TestBootstrapInvocationContext_MissingProfileValue

Function TestBootstrapInvocationContext_MissingProfileValue

cmd/bootstrap_test.go:38–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestBootstrapInvocationContext_MissingProfileValue(t *testing.T) {
39 if _, err := BootstrapInvocationContext([]string{"auth", "status", "--profile"}); err == nil {
40 t.Fatal("BootstrapInvocationContext() error = nil, want non-nil")
41 }
42}
43
44func TestBootstrapInvocationContext_HelpFlag(t *testing.T) {
45 inv, err := BootstrapInvocationContext([]string{"--help"})

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected