(t *testing.T)
| 77 | } |
| 78 | |
| 79 | func Test_TestCommand_FileWithDir(t *testing.T) { |
| 80 | err := TestCommand("testdata", TestCommandContext{}) |
| 81 | assert.Equal(t, "Error testdata: is a directory\nUse --dir to test directories with multiple test files", err.Error()) |
| 82 | } |
| 83 | |
| 84 | func Test_TestCommand_Dir(t *testing.T) { |
| 85 | out := captureOutput(func() { |
nothing calls this directly
no test coverage detected