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

Add a top level equals utility #1897

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

Add a top level equals utility #1897

wants to merge 3 commits into from

Commits on Feb 2, 2023

  1. Add a top level equals utility

    As a shortcut for the very common `it()..equals` pattern. Any other
    condition will still need to fall back on `it()..`.
    natebosch committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    2d199ed View commit details
    Browse the repository at this point in the history
  2. Specialize top level equals for Strings

    This demonstrates a risk of this method - if other packages add an
    extension which specialized `equals` for other Subject types, they won't
    get picked up by `equals()` but would get picked up by `it()..equals()`.
    natebosch committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    1d96420 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    c3a41b7 View commit details
    Browse the repository at this point in the history