mirror of https://github.com/gofiber/fiber.git
Fix lint issues
parent
72992999ed
commit
4ff6a2ecc0
2
state.go
2
state.go
|
@ -319,4 +319,4 @@ func (s *State) GetComplex128(key string) (complex128, bool) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0, false
|
return 0, false
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,7 +320,7 @@ func TestState_GetComplex64(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
st := newState()
|
st := newState()
|
||||||
|
|
||||||
var c complex64 = complex(2, 3)
|
var c = complex(2, 3)
|
||||||
st.Set("complex64", c)
|
st.Set("complex64", c)
|
||||||
cRes, ok := st.GetComplex64("complex64")
|
cRes, ok := st.GetComplex64("complex64")
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
@ -340,7 +340,7 @@ func TestState_GetComplex128(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
st := newState()
|
st := newState()
|
||||||
|
|
||||||
var c complex128 = complex(4, 5)
|
var c = complex(4, 5)
|
||||||
st.Set("complex128", c)
|
st.Set("complex128", c)
|
||||||
cRes, ok := st.GetComplex128("complex128")
|
cRes, ok := st.GetComplex128("complex128")
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
Loading…
Reference in New Issue