(t *testing.T)
| 106 | } |
| 107 | |
| 108 | func TestMatchProvider(t *testing.T) { |
| 109 | if _, ok := matchProvider("OpenAI", []string{"openai", "claude"}); !ok { |
| 110 | t.Fatal("expected match to succeed ignoring case") |
| 111 | } |
| 112 | if _, ok := matchProvider("missing", []string{"openai"}); ok { |
| 113 | t.Fatal("expected match to fail for unknown provider") |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | func TestSnapshotCoreAuths_ConfigAndAuthFiles(t *testing.T) { |
| 118 | authDir := t.TempDir() |
nothing calls this directly
no test coverage detected