-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reflect.Value.Interface() has some problems with some kind of fields,…
… like unexported fields. The deepequal package had the same problem, so I copied their fix, seems to really fix this time. https://github.com/juju/testing/blob/master/checkers/deepequal.go#L269
- Loading branch information
1 parent
df73e2a
commit 9c8ab07
Showing
2 changed files
with
144 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters