* feat: add CheckedClose test helper
Add CheckedClose test helper to improve readability of the following
pattern in tests.
```
defer func() {
require.NoError(t, c.Close())
}()
```
This can now be replaced with `defer CheckedClose(t, c)()`.
* feat: add CheckedCloseOnce
Add CheckedCloseOnce test helper function to create close functions
that check for errors and only call the underlying Close method once.
|
||
|---|---|---|
| .. | ||
| assert | ||
| helper | ||
| selfsigned | ||