Skip to content

Assertions that use the LogicalNot constraint (assertNotEquals(), assertStringNotContainsString(), ...) can generate confusing failure messages #5516

Description

@sebastianbergmann

Assertions such as assertNotEquals(), for example, use LogicalNot::negate() to generate failure messages.

When the string that is to be transformed contains words such as contains or exists then the transformation generates confusing failure messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/assertionIssues related to assertions and expectationstype/bugSomething is broken

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions