(t *testing.T)
| 28 | ) |
| 29 | |
| 30 | func TestCommand(t *testing.T) { |
| 31 | ctx := log.Testing(t) |
| 32 | err := shell.Command("echo", "test").Run(ctx) |
| 33 | assert.For(ctx, "err").ThatError(err).Succeeded() |
| 34 | } |
| 35 | |
| 36 | func TestCommandFailed(t *testing.T) { |
| 37 | ctx := log.Testing(t) |