Run runs the command and asserts that there is no error.
(t *testing.T, inv *serpent.Invocation)
| 214 | |
| 215 | // Run runs the command and asserts that there is no error. |
| 216 | func Run(t *testing.T, inv *serpent.Invocation) { |
| 217 | t.Helper() |
| 218 | |
| 219 | err := inv.Run() |
| 220 | require.NoError(t, err) |
| 221 | } |
| 222 | |
| 223 | type ErrorWaiter struct { |
| 224 | waitOnce sync.Once |