(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestBootstrapInvocationContext_ShortHelp(t *testing.T) { |
| 55 | inv, err := BootstrapInvocationContext([]string{"-h"}) |
| 56 | if err != nil { |
| 57 | t.Fatalf("-h should not error, got: %v", err) |
| 58 | } |
| 59 | if inv.Profile != "" { |
| 60 | t.Fatalf("profile = %q, want empty", inv.Profile) |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func TestBootstrapInvocationContext_HelpWithProfile(t *testing.T) { |
| 65 | inv, err := BootstrapInvocationContext([]string{"--profile", "target", "--help"}) |
nothing calls this directly
no test coverage detected