Skip to content

Commit

Permalink
gomock: removes typo in Test names
Browse files Browse the repository at this point in the history
  • Loading branch information
poy committed Dec 10, 2018
1 parent 51421b9 commit 791fd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gomock/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,14 +720,14 @@ func TestDuplicateFinishCallFails(t *testing.T) {
rep.assertFatal(ctrl.Finish, "Controller.Finish was called more than once. It has to be called exactly once.")
}

func TestTestNoHelper(t *testing.T) {
func TestNoHelper(t *testing.T) {
ctrlNoHelper := gomock.NewController(NewErrorReporter(t))

// doesn't panic
ctrlNoHelper.T.Helper()
}

func TestTestWithHelper(t *testing.T) {
func TestWithHelper(t *testing.T) {
withHelper := &HelperReporter{TestReporter: NewErrorReporter(t)}
ctrlWithHelper := gomock.NewController(withHelper)

Expand Down

0 comments on commit 791fd63

Please sign in to comment.