Skip to content

assertEquals(): Params order #12

@steeelydan

Description

@steeelydan

Hey,

thanks for the exciting project, I was really happy to see a new video appearing! :)

This is a minor detail, but the order of the parameters of JUnit's assertEquals() is the wrong way round. The expected value comes first, then the actual value. http://junit.sourceforge.net/javadoc/org/junit/Assert.html#assertEquals(java.lang.Object,%20java.lang.Object)

Cheers,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions