(t *testing.T)
| 170 | } |
| 171 | |
| 172 | func TestTokenSetCount(t *testing.T) { |
| 173 | if got := NewTokenSet("new", []string{"old", ""}).Count(); got != 2 { |
| 174 | t.Errorf("Count() = %d, want 2 (empty entries filtered)", got) |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | // During a secret rotation the server accepts the previous secret(s) as |
| 179 | // fallbacks while clients are flipped over to the new primary — on both the |
nothing calls this directly
no test coverage detected