ok fails the test if an err is not nil.
(t testing.TB, err error)
| 77 | |
| 78 | // ok fails the test if an err is not nil. |
| 79 | func ok(t testing.TB, err error) { |
| 80 | t.Helper() |
| 81 | if err != nil { |
| 82 | t.Fatalf("unexpected error: %v", err) |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | func waitProcess(p *libcontainer.Process, t testing.TB) { |
| 87 | t.Helper() |
no outgoing calls
no test coverage detected