alecthomas / alecthomas/assert

Is Nil() gone?

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
195
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi and thanks for this library!
I recently found it and wanted to port some existing code to use it.

In the readme, it mentions the evaluation criteria, and that this function was decided to keep:

Nil(t, value) -> frequently used, keep

But, it seems to not be in the repo?

I am using github.com/alecthomas/assert/v2

Maybe I'm just doing it wrong?

EDIT: I see that `assert.NoError(t, err)` does what I want.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.