use t.Cleanup(m.Verify)
This commit is contained in:
parent
10dd74b4af
commit
aae4023cdc
3 changed files with 2 additions and 2 deletions
|
|
@ -99,6 +99,8 @@ func NewMockPrompter(t *testing.T) *MockPrompter {
|
|||
ConfirmDeletionStubs: []ConfirmDeletionStub{},
|
||||
}
|
||||
|
||||
t.Cleanup(m.Verify)
|
||||
|
||||
m.SelectFunc = func(p, d string, opts []string) (int, error) {
|
||||
var s SelectStub
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue