Skip to content

BooleanAssertions.NotBe #1285

@jnyrup

Description

@jnyrup

Description

BooleanAssertions is missing an NotBe(boolean unexpected) assertion.

Complete minimal example reproducing the issue

One should be able to write

// Act
bool foo = Foo();
bool bar = Bar();

// Assert
foo.Should().NotBe(bar);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions