captureCmdable returns a cmdable that records the Cmder passed to it without dispatching the command. Used to assert that command builders produce the expected argument list.
(out *Cmder)
| 10 | // dispatching the command. Used to assert that command builders produce the |
| 11 | // expected argument list. |
| 12 | func captureCmdable(out *Cmder) cmdable { |
| 13 | return func(_ context.Context, cmd Cmder) error { |
| 14 | *out = cmd |
| 15 | return nil |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func TestIncrEXInt_Args(t *testing.T) { |
| 20 | tests := []struct { |
no outgoing calls
no test coverage detected