(t *testing.T)
| 380 | } |
| 381 | |
| 382 | func TestSearchCommandSupportsStructuredOutput(t *testing.T) { |
| 383 | if !commandSupportsStructuredOutput(searchCmd) { |
| 384 | t.Fatal("search command should support structured output") |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | func testSearchCmd() (*cobra.Command, *bytes.Buffer) { |
| 389 | var stdout bytes.Buffer |
nothing calls this directly
no test coverage detected