-
Notifications
You must be signed in to change notification settings - Fork 122
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
Formatted string equality does not work #114
Comments
Digging into it more, you are using lists not arrays so equals should work, but for some reason it still does not say they are equal |
y9san9
added a commit
that referenced
this issue
Mar 23, 2022
y9san9
added a commit
that referenced
this issue
Mar 23, 2022
y9san9
added a commit
that referenced
this issue
Mar 23, 2022
y9san9
added a commit
that referenced
this issue
Mar 23, 2022
will be released in 0.19.0 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following on to #78 equality is not working on formatted resources. So something like this:
is returning false which makes unit testing more difficult.
The problem from #78 was that they were not data classes, the problem here is that equals on arrays is referential equality and does not compare the content of the arrays. ResourceFormattedStringDesc needs to override equals and hashcode to base equality on the content of the args array.
The text was updated successfully, but these errors were encountered: