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
seankhliao
changed the title
go.dev: module tutorial "add a test" should apply "keep going" principle"
x/website: module tutorial "add a test" should apply "keep going" principle"
Aug 6, 2024
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: