| 1 | package cli |
| 2 | |
| 3 | import ( |
| 4 | "reasonix/internal/control" |
| 5 | "testing" |
| 6 | ) |
| 7 | |
| 8 | func newOwnedTestController(t testing.TB, options control.Options) *control.Controller { |
| 9 | t.Helper() |
| 10 | controller := control.New(options) |
| 11 | t.Cleanup(controller.Close) |
| 12 | return controller |
| 13 | } |
| 14 |