Code maintenance: Remove unneeded ctrl.Finish()

This commit is contained in:
Quentin McGaw
2020-12-29 01:04:07 +00:00
parent 7058373916
commit cdd1f87437
4 changed files with 0 additions and 9 deletions

View File

@@ -56,7 +56,6 @@ func Test_UseDNSSystemWide(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
mockCtrl := gomock.NewController(t)
defer mockCtrl.Finish()
file := mock_os.NewMockFile(mockCtrl)
if tc.openErr == nil {