Skip to content

Commit 044747d

Browse files
committed
remove Repeatability from mock calls
1 parent 0a86b49 commit 044747d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

internal/langserver/handlers/handlers_test.go

+3-6
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ func TestEOF(t *testing.T) {
199199
func validTfMockCalls() []*mock.Call {
200200
return []*mock.Call{
201201
{
202-
Method: "Version",
203-
Repeatability: 1,
202+
Method: "Version",
204203
Arguments: []interface{}{
205204
mock.AnythingOfType(""),
206205
},
@@ -211,15 +210,13 @@ func validTfMockCalls() []*mock.Call {
211210
},
212211
},
213212
{
214-
Method: "GetExecPath",
215-
Repeatability: 1,
213+
Method: "GetExecPath",
216214
ReturnArguments: []interface{}{
217215
"",
218216
},
219217
},
220218
{
221-
Method: "ProviderSchemas",
222-
Repeatability: 1,
219+
Method: "ProviderSchemas",
223220
Arguments: []interface{}{
224221
mock.AnythingOfType(""),
225222
},

0 commit comments

Comments
 (0)