Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(context): refactor context handling and improve test robustness
- 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]>
- Loading branch information