1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-29 22:48:07 +02:00

format code (gofmt + trim trailing space) (#1452)

This commit is contained in:
Dmitry Kutakov
2020-01-25 18:48:53 +01:00
committed by Vishal Rana
parent 8d7f05e533
commit 712b5e46c5
4 changed files with 7 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ func TestCORS(t *testing.T) {
c = e.NewContext(req, rec)
req.Header.Set(echo.HeaderOrigin, "http://aaa.example.com")
cors = CORSWithConfig(CORSConfig{
AllowOrigins: []string{"http://*.example.com"},
AllowOrigins: []string{"http://*.example.com"},
})
h = cors(echo.NotFoundHandler)
h(c)