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

Method Write

completion_test.go:543–548  ·  completion_test.go::mockWriter.Write
(p []byte)

Source from the content-addressed store, hash-verified

541}
542
543func (mw *mockWriter) Write(p []byte) (int, error) {
544 if mw.err != nil {
545 return 0, mw.err
546 }
547 return len(p), nil
548}
549
550func TestCompletionShellWriteError(t *testing.T) {
551 shellName := "mock-shell"

Callers 4

FormatMethod · 0.80
TestFlagActionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected