Skip to content

Commit

Permalink
remove Repeatability from mock calls
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jul 19, 2022
1 parent 0a86b49 commit 044747d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions internal/langserver/handlers/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ func TestEOF(t *testing.T) {
func validTfMockCalls() []*mock.Call {
return []*mock.Call{
{
Method: "Version",
Repeatability: 1,
Method: "Version",
Arguments: []interface{}{
mock.AnythingOfType(""),
},
Expand All @@ -211,15 +210,13 @@ func validTfMockCalls() []*mock.Call {
},
},
{
Method: "GetExecPath",
Repeatability: 1,
Method: "GetExecPath",
ReturnArguments: []interface{}{
"",
},
},
{
Method: "ProviderSchemas",
Repeatability: 1,
Method: "ProviderSchemas",
Arguments: []interface{}{
mock.AnythingOfType(""),
},
Expand Down

0 comments on commit 044747d

Please sign in to comment.