Skip to content

Is it too easy to write "ASSERT.that(boolean);"? #48

@cpovirk

Description

@cpovirk

I just saw this in a code review:

ASSERT.that(collection.containsAll(values));

What was meant was:

ASSERT.that(collection).containsAll(values);

(The error was a little less obvious in the real code, where "collection" and "values" were longer expressions.)

I don't really have a solution here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions