Skip to content
New issue

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

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

Already on GitHub? # to your account

interfaces: scan for methods embedded fields only #5

Merged
merged 2 commits into from
Jun 14, 2017
Merged

Conversation

rjeczalik
Copy link
Owner

Fixes #4 (comment).

The test wrongly expected net.Interface to have String() string method.
The String() method belongs to net.Hardware type, which was listed
due to a bug with reading type's embedded fields.

Once inplementation was fixed, it became obvious I was testing
wrong behaviour.

This PR fixes that.
@rjeczalik rjeczalik merged commit 7521fc0 into master Jun 14, 2017
@rjeczalik rjeczalik deleted the collect-fix branch June 14, 2017 11:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant