(t *testing.T)
| 65 | } |
| 66 | |
| 67 | func TestListQuiet(t *testing.T) { |
| 68 | cli := makeFakeCli(t) |
| 69 | createTestContexts(t, cli, "current", "other") |
| 70 | cli.SetCurrentContext("current") |
| 71 | cli.OutBuffer().Reset() |
| 72 | assert.NilError(t, runList(cli, &listOptions{quiet: true})) |
| 73 | golden.Assert(t, cli.OutBuffer().String(), "quiet-list.golden") |
| 74 | } |
| 75 | |
| 76 | func TestListError(t *testing.T) { |
| 77 | cli := makeFakeCli(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…