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

http_assertions: honour the msgAndArgs provided with each assertion #1548

Merged
merged 4 commits into from
Feb 23, 2024

Commits on Feb 22, 2024

  1. Configuration menu
    Copy the full SHA
    ecdde72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    135b468 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. http_assertions: Include msgAndArgs is some of the existing tests

    A mix of using and not using msgAndArgs will ensure that there is no
    regression.
    arjunmahishi committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    840f800 View commit details
    Browse the repository at this point in the history
  2. http_assertions: assert that the msgAndArgs actually works in tests

    This commit also adds the method `Failed() bool` to the mockTestingT
    struct. This is usefull for asserting failure in tests
    arjunmahishi committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    6e59f20 View commit details
    Browse the repository at this point in the history