mirror of https://github.com/gofiber/fiber.git
fix: testifylint failure that fell through the cracks (#2821)
parent
ccf16117c0
commit
dde9da33e3
|
@ -1770,7 +1770,7 @@ func Test_Ctx_Locals_Generic(t *testing.T) {
|
|||
app.Get("/test", func(c Ctx) error {
|
||||
require.Equal(t, "doe", Locals[string](c, "john"))
|
||||
require.Equal(t, 18, Locals[int](c, "age"))
|
||||
require.Equal(t, true, Locals[bool](c, "isHuman"))
|
||||
require.True(t, Locals[bool](c, "isHuman"))
|
||||
require.Equal(t, 0, Locals[int](c, "isHuman"))
|
||||
return nil
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue