x/website: module tutorial "add a test" should apply "keep going" principle" #68741
Labels
Documentation
Issues describing a change to documentation.
NeedsFix
The path to resolution is known, but the work has not been done.
website
Milestone
Go version
n/a
Output of
go env
in your module/workspace:What did you do?
I visisted https://go.dev/doc/tutorial/add-a-test and I read how to create a test for Go code.
What did you see happen?
I saw it advise test construction using
(*testing.T).Fatalf
per the excerpts below:What did you expect to see?
Given the design guidance with tests to "keep going", I would expect these tests to be written as below using
(*testing.T).Errorf
:It seems like it would be useful to have the training material aligned with community development expectations.
The text was updated successfully, but these errors were encountered: