Update readme, make it more clear to use httptest

at first glance that we should use httptest
pull/64/head
Josh Rendek 2014-07-04 01:04:09 -04:00
parent 5484d2a8ac
commit e3a8e43111
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ func TestSomething(t *testing.T) {
`http` package
--------------
The `http` package contains test objects useful for testing code that relies on the `net/http` package. Check out the [API documentation for the `http` package](http://godoc.org/github.com/stretchr/testify/http).
The `http` package contains test objects useful for testing code that relies on the `net/http` package. Check out the [(deprecated) API documentation for the `http` package](http://godoc.org/github.com/stretchr/testify/http).
We reccomend you use [httptest](http://golang.org/pkg/net/http/httptest) instead.
`mock` package
--------------