mirror of https://github.com/stretchr/testify.git
deprecated TestResponseWriter
parent
6d984ec0a3
commit
304892e553
|
@ -6,6 +6,8 @@ import (
|
||||||
|
|
||||||
// TestResponseWriter is a http.ResponseWriter object that keeps track of all activity
|
// TestResponseWriter is a http.ResponseWriter object that keeps track of all activity
|
||||||
// allowing you to make assertions about how it was used.
|
// 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 {
|
type TestResponseWriter struct {
|
||||||
|
|
||||||
// StatusCode is the last int written by the call to WriteHeader(int)
|
// StatusCode is the last int written by the call to WriteHeader(int)
|
||||||
|
|
Loading…
Reference in New Issue