(t *testing.T)
| 44 | } |
| 45 | |
| 46 | func TestUseNoExist(t *testing.T) { |
| 47 | cli := makeFakeCli(t) |
| 48 | err := newUseCommand(cli).RunE(nil, []string{"test"}) |
| 49 | assert.Check(t, is.ErrorType(err, errdefs.IsNotFound)) |
| 50 | } |
| 51 | |
| 52 | // TestUseDefaultWithoutConfigFile verifies that the CLI does not create |
| 53 | // the default config file and directory when using the default context. |
nothing calls this directly
no test coverage detected
searching dependent graphs…