(t *testing.T)
| 17 | ) |
| 18 | |
| 19 | func Test_TestCommand_Verbose(t *testing.T) { |
| 20 | out := captureOutput(func() { |
| 21 | TestCommand("commander.yaml", TestCommandContext{Verbose: true}) |
| 22 | log.Println("test test test") |
| 23 | }) |
| 24 | |
| 25 | assert.Contains(t, out, "test test test") |
| 26 | } |
| 27 | |
| 28 | func Test_TestCommand_DefaultFile(t *testing.T) { |
| 29 | err := TestCommand("", TestCommandContext{Verbose: true}) |
nothing calls this directly
no test coverage detected