From 152fd8ca1a6ebd2687691c307039feb561c773fc Mon Sep 17 00:00:00 2001 From: lpxxn Date: Mon, 26 Nov 2018 11:29:36 +0800 Subject: [PATCH] rename test function name --- gin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gin_test.go b/gin_test.go index 17dc19dd..c9b7db36 100644 --- a/gin_test.go +++ b/gin_test.go @@ -485,7 +485,7 @@ func assertRoutePresent(t *testing.T, gotRoutes RoutesInfo, wantRoute RouteInfo) func handlerTest1(c *Context) {} func handlerTest2(c *Context) {} -func TestContext_JSONErrorContentLength(t *testing.T) { +func TestJSONErrorWrongContentLength(t *testing.T) { router := New() wg := sync.WaitGroup{} wg.Add(1)