Skip to content

Commit

Permalink
bool-compare: refactor test generation (#121)
Browse files Browse the repository at this point in the history
* gen: move assertion sorter to a function so it could be reused

* bool_compare: refactor tests generator

* cosmetic

---------

Co-authored-by: Anton Telyshev <[email protected]>
  • Loading branch information
ccoVeille and Antonboom authored Jun 15, 2024
1 parent 4e94ff0 commit c1346cf
Show file tree
Hide file tree
Showing 6 changed files with 295 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ issues:
text: "exported"

- path: "internal/testgen"
linters: [ "forbidigo", "gochecknoinits" ] # Internal test generation tool.
linters: [ "forbidigo", "gochecknoinits", "prealloc" ] # Internal test generation tool.

- path: "internal"
linters: [ "revive" ]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1346cf

Please sign in to comment.