mirror of
https://github.com/stretchr/testify.git
synced 2025-07-12 23:28:36 +00:00
update README.md
This commit is contained in:
parent
f6376e8a31
commit
b3260a9914
@ -97,6 +97,13 @@ func TestSomething(t *testing.T) {
|
||||
}
|
||||
```
|
||||
|
||||
`require` package
|
||||
-------------------------------------------------------------------------------------------
|
||||
|
||||
The `require` package provides same global functions as the `assert` package, but instead of returning a boolean result they terminate current test.
|
||||
See [t.FailNow](http://golang.org/pkg/testing/#T.FailNow) for details.
|
||||
|
||||
|
||||
[`http`](http://godoc.org/github.com/stretchr/testify/http "API documentation") package
|
||||
---------------------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user