Skip to content

Intermediate AboutEquality not behaving as expected.  #56

Description

@nickbdyer

Hello,

After completing line 26 with noObjectShouldBeEqualToNull. I believe the overridden (to false) equals method should cause line 57 to flag as incorrect. However, the evaluation goes straight to line 94 and asks for a new hashCode method to be implemented.

Am I misunderstanding the koan here, am I required to write new equals and a new hashcode to get line 57 to flag?

Thanks

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions