From 304892e553e8ef3a57d0cbbb7bcddab798e99c11 Mon Sep 17 00:00:00 2001 From: Mat Ryer Date: Tue, 28 Jan 2014 10:15:59 -0700 Subject: [PATCH] deprecated TestResponseWriter --- http/test_response_writer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http/test_response_writer.go b/http/test_response_writer.go index c09f805..efd4d66 100644 --- a/http/test_response_writer.go +++ b/http/test_response_writer.go @@ -6,6 +6,8 @@ import ( // TestResponseWriter is a http.ResponseWriter object that keeps track of all activity // allowing you to make assertions about how it was used. +// +// DEPRECATED: We recommend you use http://golang.org/pkg/net/http/httptest instead. type TestResponseWriter struct { // StatusCode is the last int written by the call to WriteHeader(int)