Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move functions into test.go #4

Merged
merged 3 commits into from
Nov 8, 2024
Merged

Conversation

raeperd
Copy link
Owner

@raeperd raeperd commented Nov 8, 2024

Move test functions into test.go

reason to change

  • To support simple copy & paste usecases
  • User can copy & paste then add more functions in same test package so that,
func CustomEqual(t *testing.TB, a Custom, b Custom) {
    t.Helper()
   // ... 
}
  • this usecase is valid

@raeperd raeperd added the enhancement New feature or request label Nov 8, 2024
@raeperd raeperd self-assigned this Nov 8, 2024
@raeperd raeperd merged commit ce6f162 into main Nov 8, 2024
2 checks passed
@raeperd raeperd deleted the refactor-single-file branch November 8, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant