We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5dc02c commit f4d9d69Copy full SHA for f4d9d69
plugin/service_test.go
@@ -14,6 +14,7 @@ import (
14
func TestService(t *testing.T) {
15
t.Run("shutdown ok", func(t *testing.T) {
16
ctrl := gomock.NewController(t)
17
+ defer ctrl.Finish()
18
19
p := mocks.NewMockJunoPlugin(ctrl)
20
p.EXPECT().Shutdown().Return(nil)
@@ -28,6 +29,7 @@ func TestService(t *testing.T) {
28
29
})
30
t.Run("shutdown with error", func(t *testing.T) {
31
32
33
34
shutdownErr := errors.New("error during shutdown")
35
0 commit comments