From: Anthony Fok Date: Wed, 4 Jan 2017 07:57:28 +0000 (-0700) Subject: helpers: Fix minor typo in error message for Seq() X-Git-Tag: v0.19~132 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e3e5600b;p=brevno-suite%2Fhugo helpers: Fix minor typo in error message for Seq() --- diff --git a/helpers/general.go b/helpers/general.go index c545b286..83db76fc 100644 --- a/helpers/general.go +++ b/helpers/general.go @@ -363,13 +363,13 @@ func Seq(args ...interface{}) ([]int, error) { // sanity check if last < -100000 { - return nil, errors.New("size of result exeeds limit") + return nil, errors.New("size of result exceeds limit") } size := ((last - first) / inc) + 1 // sanity check if size <= 0 || size > 2000 { - return nil, errors.New("size of result exeeds limit") + return nil, errors.New("size of result exceeds limit") } seq := make([]int, size)