Skip to content

Commit a4ae407

Browse files
committed
lint
1 parent a780d05 commit a4ae407

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/authprovider/authx/strategy_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func TestHeadersAuthStrategy(t *testing.T) {
9191
strategy.Apply(req)
9292

9393
// Use direct map access since headers preserve exact casing
94+
//nolint
9495
if got := req.Header["X-API-Key"]; len(got) == 0 || got[0] != "secret123" {
9596
t.Errorf("X-API-Key = %v, want [secret123]", got)
9697
}
@@ -104,6 +105,7 @@ func TestHeadersAuthStrategy(t *testing.T) {
104105
strategy.ApplyOnRR(req)
105106

106107
// Use direct map access since headers preserve exact casing
108+
//nolint
107109
if got := req.Header["X-API-Key"]; len(got) == 0 || got[0] != "secret123" {
108110
t.Errorf("X-API-Key = %v, want [secret123]", got)
109111
}

0 commit comments

Comments
 (0)