(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestBootstrapInvocationContext_HelpWithProfile(t *testing.T) { |
| 65 | inv, err := BootstrapInvocationContext([]string{"--profile", "target", "--help"}) |
| 66 | if err != nil { |
| 67 | t.Fatalf("--profile + --help should not error, got: %v", err) |
| 68 | } |
| 69 | if inv.Profile != "target" { |
| 70 | t.Fatalf("profile = %q, want %q", inv.Profile, "target") |
| 71 | } |
| 72 | } |
nothing calls this directly
no test coverage detected