Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(context): test context initialization and handler logic #4087

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 27, 2024

  1. enhance code imported by gin-gonic#3413

    if it needs to check if the handler is nil, tie c.index shall
    always ++
    zjj committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    90815bf View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    7e8e21b View commit details
    Browse the repository at this point in the history
  2. test: refactor test context initialization and handler logic

    - Remove an empty line in `TestContextInitQueryCache`
    - Add `TestContextNext` function with tests for `Next` method behavior with no handlers, one handler, and multiple handlers
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    151f477 View commit details
    Browse the repository at this point in the history