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.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 5 years ago
v0.0.3
over 5 years ago
Versions
3
3
Dependent Packages
475
475
Dependent Repos
5,101
5,101
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/tj/assert
spec |
| License | MIT |
| Namespace | github.com/tj |
| First Release | over 5 years ago |
| Last Synced | 24 days ago |
Rankings on proxy.golang.org
Overall
Top 3.7%
Dependent packages
Top 0.2%
Dependent repos
Top 0.1%
Docker downloads
Top 0.9%