(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestCLIContextFromContext(t *testing.T) { |
| 13 | t.Parallel() |
| 14 | |
| 15 | exp := new(cli.Context) |
| 16 | |
| 17 | got := CLIContextFromContext(withCLIContext(context.Background(), exp)) |
| 18 | assert.Same(t, exp, got) |
| 19 | } |
| 20 | |
| 21 | func TestCLIContextFromContextPanics(t *testing.T) { |
| 22 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…