Package Usage: go: github.com/tj/assert
Package assert implements the same assertions as the `assert` package but
stops test execution when a test fails.
The following is a complete example using require in a standard test function:
The `require` package have same global functions as in the `assert` package,
but instead of returning a boolean result they call `t.FailNow()`.
Every assertion function also takes an optional string message as the final argument,
allowing custom error messages to be appended to the message the assertion method outputs.
3 versions
Latest release: about 5 years ago
475 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/tj/assert