Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Conversation

@poy
Copy link
Collaborator

@poy poy commented Dec 5, 2018

fixes #239

@poy poy requested a review from balshetzer December 5, 2018 18:07
@poy
Copy link
Collaborator Author

poy commented Dec 7, 2018

@balshetzer PTAL

@balshetzer balshetzer self-assigned this Dec 8, 2018
Copy link
Collaborator

@balshetzer balshetzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way the changes were committed makes it so that it seems like there were no changes since the last review. This makes it harder to just take a quick look at the changes.

@poy
Copy link
Collaborator Author

poy commented Dec 8, 2018

@balshetzer PTAL

poy added 2 commits December 7, 2018 20:35
Controller takes a TestReporter but will convert it to a TestHelper. If
the given TestReproter does not implement a TestHelper it will wrap it
in a nopTestHelper.
Using T.Helper() better directs the callstack to point at the
offending line in the production code.

fixes #239
@poy poy merged commit 51421b9 into golang:master Dec 8, 2018
@mikhailkolesnik
Copy link

can you pease tag this version. When we use go get to install mockgen and dep to install github.com/golang/mock dep thinks that 1.1.1 is the most recent version and mockgen generates code that is not compatible with it.

@poy
Copy link
Collaborator Author

poy commented Dec 8, 2018

@mikhailkolesnik tagged v1.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mocks should call t.Helper()

3 participants