Skip to content

Conversation

torarvid
Copy link
Contributor

One should not use == to compare to instances of Value, since they will be
pointers. Rather, one should call .Interface() on the Value instances
before performing the comparison.

One should not use == to compare to instances of Value, since they will be
pointers. Rather, one should call .Interface() on the Value instances
before performing the comparison.
@sergi
Copy link
Owner

sergi commented Jun 11, 2015

Thanks!

sergi added a commit that referenced this pull request Jun 11, 2015
Fix assertMapEqual so it compares Value.Interface()
@sergi sergi merged commit ffccea1 into sergi:master Jun 11, 2015
@torarvid torarvid deleted the map-fix branch June 11, 2015 08:31
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

Successfully merging this pull request may close these issues.

2 participants