<commit_before>package fasthttp

import (
	"bufio"
	"bytes"
	"github.com/labstack/echo/engine/test"
	"github.com/labstack/gommon/log"
	fast "github.com/valyala/fasthttp"
	"net"
	"net/url"
	"testing"
)

type fakeAddr struct {
	addr string
	net.Addr
}

func (a fakeAddr) String() string {
	return a.addr
}

func TestRequest(t *testing.T) {
	var ctx fast.RequestCtx

	url, _ := url.Parse("https://github.com/labstack/echo")
	ctx.Init(&fast.Request{}, fakeAddr{addr: "127.0.0.1"}, nil)
	ctx.Request.Read(bufio.NewReader(bytes.NewBufferString(test.MultipartRequest)))
	ctx.Request.SetRequestURI(url.String())

	test.RequestTest(t, NewRequest(&ctx, log.New("echo")))
}<commit_msg>Fixed broken build<commit_after>package fasthttp

import (
	"bufio"
	"bytes"
	"net"
	"net/url"
	"testing"

	"github.com/labstack/echo/engine/test"
	"github.com/labstack/gommon/log"
	fast "github.com/valyala/fasthttp"
)

type fakeAddr struct {
	addr string
	net.Addr
}

func (a fakeAddr) String() string {
	return a.addr
}

func TestRequest(t *testing.T) {
	var ctx fast.RequestCtx

	url, _ := url.Parse("http://github.com/labstack/echo")
	ctx.Init(&fast.Request{}, fakeAddr{addr: "127.0.0.1"}, nil)
	ctx.Request.Read(bufio.NewReader(bytes.NewBufferString(test.MultipartRequest)))
	ctx.Request.SetRequestURI(url.String())

	test.RequestTest(t, NewRequest(&ctx, log.New("echo")))
}
{'fraction_non_alphanumeric': 0.1670362158167036, 'fraction_numerical': 0.008869179600886918, 'mean_word_length': 4.93859649122807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '339588', 'n_tokens_mistral': 538, 'n_tokens_neox': 523, 'n_words': 86}