(t *testing.T, inv *serpent.Invocation)
| 241 | } |
| 242 | |
| 243 | func attachPty(t *testing.T, inv *serpent.Invocation) *ptytest.PTY { |
| 244 | pty := ptytest.New(t) |
| 245 | inv.Stdin = pty.Input() |
| 246 | inv.Stdout = pty.Output() |
| 247 | return pty |
| 248 | } |
| 249 | |
| 250 | func newFakeLicenseAPI(t *testing.T) http.Handler { |
| 251 | r := chi.NewRouter() |
no test coverage detected