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
Currently , each test case is a test on its own and can be collapsed to a single test case with shared test function uses the following golang idiomatic test pattern:
testCases := struct {
creatorType string
...
expected v2_3.CreationInfo
}{
...
}
for _, t := range testCases {
t.Run(...)
}
In addition, reflect.DeepEquals can be used instead to do cleaner comparisons.
The text was updated successfully, but these errors were encountered:
Currently , each test case is a test on its own and can be collapsed to a single test case with shared test function uses the following golang idiomatic test pattern:
In addition,
reflect.DeepEquals
can be used instead to do cleaner comparisons.The text was updated successfully, but these errors were encountered: