Skip to content

Commit e4d4bfa

Browse files
committed
fix by adding mock.Finish()
1 parent 2ec0f1a commit e4d4bfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/datastore/target/netconf/xml2SchemapbAdapter_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func TestXML2sdcpbConfigAdapter_Transform(t *testing.T) {
145145
for _, tt := range tests {
146146
t.Run(tt.name, func(t *testing.T) {
147147
mockCtrl := gomock.NewController(t)
148+
defer mockCtrl.Finish()
148149

149150
x := tt.getXML2sdcpbConfigAdapter(mockCtrl, t)
150151
// tt.args.doc.Indent(2)

0 commit comments

Comments
 (0)