alecthomas / alecthomas/assert

Is Nil() gone?

Offen
#27 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
195
Forks
16
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.