mirror of
https://github.com/stretchr/testify.git
synced 2025-04-27 13:13:19 +00:00
1. Isolate tests that use the "unsafe" package in a separate package assert/internal/unsafetests. That way the assert package is not tainted with unsafe. 2. Remove one reference to the private assert.isNil() in assert tests. 3. Add more tests of assert.Nil and assert.NotNil with unsafe.Pointer.
5 lines
152 B
Go
5 lines
152 B
Go
// This package exists just to isolate tests that reference the [unsafe] package.
|
|
//
|
|
// The tests in this package are totally safe.
|
|
package unsafetests
|