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

equals implementation broken in 1.1.0 #16

Open
xenoterracide opened this issue Dec 4, 2016 · 0 comments
Open

equals implementation broken in 1.1.0 #16

xenoterracide opened this issue Dec 4, 2016 · 0 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Dec 4, 2016

These look equal to me, here's my source (obviously the commented out line is not when I run it)

https://bitbucket.org/xenworks/logging/src/d5037e058b95bed7b5114f55ce18ccc85c954551/src/test/java/com/xenoterracide/logging/LoggableTest.java?at=master&fileviewer=file-view-default#LoggableTest.java-49

Expected :uk.org.lidalia.slf4jtest.LoggingEvent<LoggingEvent[level=TRACE,mdc={},marker=Optional.absent(),throwable=Optional.absent(),message=test {},arguments=[1]]> 
Actual   :uk.org.lidalia.slf4jtest.LoggingEvent<LoggingEvent[level=TRACE,mdc={},marker=Optional.absent(),throwable=Optional.absent(),message=test {},arguments=[1]]>

I did a little investigation, this is where it fails

&& fieldsOfThis.allMatch(hasEqualValueIn(that));

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

1 participant