Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert: improve unsafe.Pointer tests #1505

Merged
merged 1 commit into from Jan 17, 2024
Merged

Commits on Nov 9, 2023

  1. assert: more unsafe.Pointer tests

    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.
    dolmen committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    858080f View commit details
    Browse the repository at this point in the history