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: rename testdata dir #145

Merged
merged 1 commit into from
Apr 30, 2024
Merged

refactor: rename testdata dir #145

merged 1 commit into from
Apr 30, 2024

Conversation

trym-b
Copy link
Contributor

@trym-b trym-b commented Apr 30, 2024

There is a convention in GO to name the test
data directory testdata, not test-data. This
convention comes from the part of go help packages that says:

Directory and file names that begin with "." or
"_" are ignored by the go tool, as are directories
named "testdata".

@trym-b trym-b changed the title refactor: renamed testdata dir refactor: rename testdata dir Apr 30, 2024
There is a convention in `GO` to name the test
data directory `testdata`, not `test-data`. This
convention comes from the part of `go help
packages` that says:

```
Directory and file names that begin with "." or
"_" are ignored by the go tool, as are directories
named "testdata".
```
@trym-b trym-b force-pushed the refactor/rename-testdata-dir branch from f51fffb to 2e3e700 Compare April 30, 2024 06:21
Copy link
Member

@maeb maeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good!

@trym-b trym-b merged commit c57900b into main Apr 30, 2024
8 checks passed
@trym-b trym-b deleted the refactor/rename-testdata-dir branch April 30, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants