From 126f8aa6af3b8fbd50d8a3ebe9ac725014a1eeaa Mon Sep 17 00:00:00 2001 From: yiranzai Date: Fri, 7 May 2021 20:33:54 +0800 Subject: [PATCH] code style fixed --- gin_integration_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gin_integration_test.go b/gin_integration_test.go index 943a7711..2eb2d52b 100644 --- a/gin_integration_test.go +++ b/gin_integration_test.go @@ -62,7 +62,7 @@ func TestBadTrustedCIDRsForRun(t *testing.T) { assert.Error(t, router.Run(":8080")) } -func TestBadTrustedCIDRsForRunUnix(t *testing.T){ +func TestBadTrustedCIDRsForRunUnix(t *testing.T) { router := New() router.TrustedProxies = []string{"hello/world"} @@ -79,7 +79,7 @@ func TestBadTrustedCIDRsForRunUnix(t *testing.T){ time.Sleep(5 * time.Millisecond) } -func TestBadTrustedCIDRsForRunFd(t *testing.T){ +func TestBadTrustedCIDRsForRunFd(t *testing.T) { router := New() router.TrustedProxies = []string{"hello/world"} @@ -99,7 +99,7 @@ func TestBadTrustedCIDRsForRunFd(t *testing.T){ time.Sleep(5 * time.Millisecond) } -func TestBadTrustedCIDRsForRunListener(t *testing.T){ +func TestBadTrustedCIDRsForRunListener(t *testing.T) { router := New() router.TrustedProxies = []string{"hello/world"}