(t *testing.T)
| 217 | } |
| 218 | |
| 219 | func TestRevsCommandSupportsStructuredOutput(t *testing.T) { |
| 220 | if !commandSupportsStructuredOutput(revsCmd) { |
| 221 | t.Fatal("revs command should support structured output") |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | func testRevsCmd() (*cobra.Command, *bytes.Buffer) { |
| 226 | var stdout bytes.Buffer |
nothing calls this directly
no test coverage detected