aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/http_test.go')
-rw-r--r--rpc/http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http_test.go b/rpc/http_test.go
index aed84f683..b3f694d8a 100644
--- a/rpc/http_test.go
+++ b/rpc/http_test.go
@@ -32,7 +32,7 @@ func TestHTTPErrorResponseWithPut(t *testing.T) {
}
func TestHTTPErrorResponseWithMaxContentLength(t *testing.T) {
- body := make([]rune, maxHTTPRequestContentLength+1)
+ body := make([]rune, maxRequestContentLength+1)
testHTTPErrorResponse(t,
http.MethodPost, contentType, string(body), http.StatusRequestEntityTooLarge)
}