Skip to content

Commit

Permalink
test: rename mock Execute to Executor
Browse files Browse the repository at this point in the history
Renamed the mock structure from `MockExecute` to `MockExecutor` and updated related test instances and Makefile accordingly. This improves clarity and consistency in naming conventions.
  • Loading branch information
tzdybal committed Nov 5, 2024
1 parent 3488348 commit fe7b8c5
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 281 deletions.
2 changes: 1 addition & 1 deletion .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ with-expecter: true
packages:
github.com/rollkit/go-execution:
interfaces:
Execute:
Executor:
config:
dir: mocks
outpkg: mocks
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ proto-lint: check-proto-deps
.PHONY: proto-lint

## mock-gen: Re-generates DA mock
mock-gen: mocks/Execute.go
mock-gen: mocks/mock_Executor.go
.PHONY: mock-gen

mocks/Execute.go: execution.go .mockery.yaml
mocks/mock_Executor.go: execution.go .mockery.yaml
@mockery
276 changes: 0 additions & 276 deletions mocks/mock_Execute.go

This file was deleted.

Loading

0 comments on commit fe7b8c5

Please sign in to comment.