mirror of
https://github.com/gin-gonic/gin.git
synced 2026-04-30 23:58:26 +08:00
style: fix gofumpt formatting in gin_test.go
This commit is contained in:
parent
4b7063bb38
commit
e4e36348b5
@ -1128,7 +1128,8 @@ func TestValidateHeader_IssueCases(t *testing.T) {
|
||||
header: "[240e:318:2f4a:de56::240]:38792",
|
||||
wantIP: "240e:318:2f4a:de56::240",
|
||||
wantValid: true,
|
||||
}, {
|
||||
},
|
||||
{
|
||||
name: "invalid ip",
|
||||
header: "abc",
|
||||
wantIP: "",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user