Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermediate AboutEquality not behaving as expected. #56

Open
nickbdyer opened this issue Feb 3, 2016 · 2 comments
Open

Intermediate AboutEquality not behaving as expected. #56

nickbdyer opened this issue Feb 3, 2016 · 2 comments

Comments

@nickbdyer
Copy link

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

@nickbdyer
Copy link
Author

Ok. Discovered that modifying the hashcode text resulted in line 57 being detected. Sometimes I wish there were instructions for these koans!! Sorry to have bothered you.

@matyb
Copy link
Owner

matyb commented Feb 3, 2016

No problem @nickbdyer, there are directions sorta... They just need configured. I can slap some in this case, or if you have time sooner; its in the PathToEnlightenment.xml

@matyb matyb reopened this Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants