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

x/website: golang.org/subtests is showing an error #42731

Closed
spwg opened this issue Nov 19, 2020 · 3 comments
Closed

x/website: golang.org/subtests is showing an error #42731

spwg opened this issue Nov 19, 2020 · 3 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@spwg
Copy link

spwg commented Nov 19, 2020

What version of Go are you using (go version)?

N/A

Does this issue reproduce with the latest release?

N/A

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

Visit http://golang.org/subtests.

What did you expect to see?

Information about Go subtests.

What did you see instead?

lstat $GOROOT/subtests: no such file or directory

download

@gopherbot gopherbot added this to the Unreleased milestone Nov 19, 2020
@seankhliao
Copy link
Member

seankhliao commented Nov 19, 2020

Where did you get this link from?

Were you perhaps looking for https://blog.golang.org/subtests ?

@dmitshur dmitshur added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 19, 2020
@spwg
Copy link
Author

spwg commented Nov 20, 2020

Where did you get this link from?

Google's #1 ranked search result for my query "Go before each test" is https://stackoverflow.com/questions/23729790/how-can-i-do-test-setup-using-the-testing-package-in-go.

The top answer has a comment under it that says, "TestMain is once in a package, so it's not that useful. I find subtests are better for more complex purposes." The word subtests is a link to https://blog-test.golang.org/subtests.

Were you perhaps looking for https://blog.golang.org/subtests ?

Yes, thanks you!

@dmitshur
Copy link
Contributor

Thanks for clarifying.

blog-test.golang.org is not a valid subdomain at this time, and all unknown subdomains get redirected to golang.org. This is working as intended.

I'll close this since there's nothing to do on our side. If possible, the link on Stack Overflow should be edited.

@golang golang locked and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants