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
There are a few tests, particularly in the TimestampTracker tests (IIRC), where this would have been much more idiomatic than a named type. Research where this makes sense, and rewrite the tests to use this style.
The text was updated successfully, but these errors were encountered:
A useful testing pattern, which apparently is common knowledge in the Go community but new to me, is the use of anon structs in tests.
There are a few tests, particularly in the TimestampTracker tests (IIRC), where this would have been much more idiomatic than a named type. Research where this makes sense, and rewrite the tests to use this style.
The text was updated successfully, but these errors were encountered: