diff --git a/gomock/controller.go b/gomock/controller.go index 0651c91e..75f23502 100644 --- a/gomock/controller.go +++ b/gomock/controller.go @@ -84,7 +84,7 @@ type TestHelper interface { // defer. // // func TestFoo(t *testing.T) { -// ctrl := gomock.NewController(st) +// ctrl := gomock.NewController(t) // defer ctrl.Finish() // // .. // }