mirror of https://github.com/gofiber/fiber.git
v3: fix tests
parent
d4d2f9212f
commit
9efcefa513
|
@ -321,7 +321,7 @@ func Test_Req_Header(t *testing.T) {
|
||||||
|
|
||||||
app := fiber.New()
|
app := fiber.New()
|
||||||
app.Use(New(Config{
|
app.Use(New(Config{
|
||||||
Format: "${header:test}",
|
Format: "${reqHeader:test}",
|
||||||
Output: buf,
|
Output: buf,
|
||||||
}))
|
}))
|
||||||
app.Get("/", func(c *fiber.Ctx) error {
|
app.Get("/", func(c *fiber.Ctx) error {
|
||||||
|
|
Loading…
Reference in New Issue