(hostname string, expectedToken string)
| 1362 | } |
| 1363 | |
| 1364 | func hasActiveToken(hostname string, expectedToken string) tokenAssertion { |
| 1365 | return func(t *testing.T, cfg gh.Config) { |
| 1366 | t.Helper() |
| 1367 | |
| 1368 | token := cfg.Authentication().ActiveToken(hostname).Token |
| 1369 | require.Equal(t, expectedToken, token) |
| 1370 | } |
| 1371 | } |
no test coverage detected