From e3a8e43111187dd8a851681e7d2c4e176c385d96 Mon Sep 17 00:00:00 2001 From: Josh Rendek Date: Fri, 4 Jul 2014 01:04:09 -0400 Subject: [PATCH 1/2] Update readme, make it more clear to use httptest at first glance that we should use httptest --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57eda34..c40c868 100644 --- a/README.md +++ b/README.md @@ -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 -------------- From d886ac2b4a86aabf23e653f4ca278da6890d8377 Mon Sep 17 00:00:00 2001 From: Josh Rendek Date: Fri, 4 Jul 2014 01:05:55 -0400 Subject: [PATCH 2/2] fix spelling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c40c868..ab2ac99 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ func TestSomething(t *testing.T) { 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. +We recommend you use [httptest](http://golang.org/pkg/net/http/httptest) instead. `mock` package --------------