(t *testing.T)
| 14 | ) |
| 15 | |
| 16 | func TestVersionCommand(t *testing.T) { |
| 17 | delete(embedded.EmbeddedBoxes, "default-files") |
| 18 | |
| 19 | output := &bytes.Buffer{} |
| 20 | monitororCli := &cli.MonitororCli{Output: output} |
| 21 | |
| 22 | cmd := NewInitCommand(monitororCli) |
| 23 | assert.Panics(t, func() { _ = cmd.RunE(cmd, []string{}) }) |
| 24 | } |
| 25 | |
| 26 | func TestRunInit(t *testing.T) { |
| 27 | delete(embedded.EmbeddedBoxes, "default-files") |
nothing calls this directly
no test coverage detected