fix: mispells

This commit is contained in:
Adrien Marquès 2021-06-22 21:11:59 +02:00
parent ad178781ac
commit ad86a3b46b
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ type Builder struct {
middlewares []func(http.Handler) http.Handler middlewares []func(http.Handler) http.Handler
// custom middlewares only wrapping the service handler of a request // custom middlewares only wrapping the service handler of a request
// they will benefit from the request's context that contains service-specific // they will benefit from the request's context that contains service-specific
// information (e.g. required permisisons from the configuration) // information (e.g. required permissions from the configuration)
ctxMiddlewares []func(http.Handler) http.Handler ctxMiddlewares []func(http.Handler) http.Handler
} }

View File

@ -84,7 +84,7 @@ func TestInt_Values(t *testing.T) {
{uint(math.MaxInt64 + 1), false}, {uint(math.MaxInt64 + 1), false},
{float64(math.MinInt64), true}, {float64(math.MinInt64), true},
// we cannot just substract 1 because of how precision works // we cannot just subtract 1 because of how precision works
{float64(math.MinInt64 - 1024 - 1), false}, {float64(math.MinInt64 - 1024 - 1), false},
// WARNING : this is due to how floats are compared // WARNING : this is due to how floats are compared