Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Mar 6, 2025
1 parent df1af48 commit e8f8e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/session/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func Test_Session_GoContext_EdgeCases(t *testing.T) {
t.Parallel()

// Test with nil context
sess := FromGoContext(nil) //nolint:nilnil // Intentionally testing nil context behavior
sess := FromGoContext(nil) //nolint:staticcheck // Intentionally testing nil context behavior
require.Nil(t, sess, "Session should be nil with nil context")

// Test with context that doesn't have a session
Expand Down

0 comments on commit e8f8e4d

Please sign in to comment.