File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ package fasthttp
33import (
44 "bufio"
55 "bytes"
6- "github.com/labstack/echo/engine/test"
7- "github.com/labstack/gommon/log"
8- fast "github.com/valyala/fasthttp"
96 "net"
107 "net/url"
118 "testing"
9+
10+ "github.com/labstack/echo/engine/test"
11+ "github.com/labstack/gommon/log"
12+ fast "github.com/valyala/fasthttp"
1213)
1314
1415type fakeAddr struct {
@@ -23,7 +24,7 @@ func (a fakeAddr) String() string {
2324func TestRequest (t * testing.T ) {
2425 var ctx fast.RequestCtx
2526
26- url , _ := url .Parse ("https ://github.com/labstack/echo" )
27+ url , _ := url .Parse ("http ://github.com/labstack/echo" )
2728 ctx .Init (& fast.Request {}, fakeAddr {addr : "127.0.0.1" }, nil )
2829 ctx .Request .Read (bufio .NewReader (bytes .NewBufferString (test .MultipartRequest )))
2930 ctx .Request .SetRequestURI (url .String ())
You can’t perform that action at this time.
0 commit comments