Skip to content

Conversation

@appleboy
Copy link
Member

@appleboy appleboy commented Oct 25, 2024

  • Use assert.InDelta for float comparison with tolerance in TestContextGetFloat32
  • Remove unnecessary blank line in TestContextInitQueryCache
  • Replace anonymous struct with named contextKey type in TestContextWithFallbackValueFromRequestContext
  • Update context key handling in TestContextWithFallbackValueFromRequestContext to use contextKey type

@thinkerou Please help to review.

- Use `assert.InDelta` for float comparison with tolerance in `TestContextGetFloat32`
- Remove unnecessary blank line in `TestContextInitQueryCache`
- Replace anonymous struct with named `contextKey` type in `TestContextWithFallbackValueFromRequestContext`
- Update context key handling in `TestContextWithFallbackValueFromRequestContext` to use `contextKey` type

Signed-off-by: appleboy <[email protected]>
@appleboy
Copy link
Member Author

duplicated #4066

@appleboy appleboy closed this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant