You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go test ignores testdata, as do commands that look for packages in the hierarchy of directories. But the files in testdata are expected to be used by tests, so they are part of a module.
What is the URL of the page with the issue?
https://pkg.go.dev/gitlab.com/tozd/go/fun
What is your user agent?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Screenshot
No response
What did you do?
I am trying to publish a new version of my package. So I run:
What did you see happen?
That the version is published and that I see a new version at https://pkg.go.dev/gitlab.com/tozd/go/fun.
What did you expect to see?
The reason is that in
testdata
directory I have a sub-directory with:
in it. It seems this breaks the publishing process?I would expect that
testdata
directory is ignored by Go.The text was updated successfully, but these errors were encountered: