From 140ae90f29eaaadc229f8d4b78f074b7f0611c1e Mon Sep 17 00:00:00 2001 From: James Bowes Date: Fri, 17 May 2019 11:58:38 -0300 Subject: [PATCH] Fix small typo in Controller example (#295) --- gomock/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() // // .. // }