Update coverage

This commit is contained in:
Weilin Shi 2018-10-04 09:48:52 +08:00
parent 1b36f64f5d
commit 891b52d957
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import (
"bytes" "bytes"
"errors" "errors"
"image/color" "image/color"
"image/color/palette"
"image/gif" "image/gif"
"image/jpeg" "image/jpeg"
"math/rand" "math/rand"
@ -62,6 +63,7 @@ func TestNewCaptchaOptions(t *testing.T) {
options.CharPreset = "1234567890" options.CharPreset = "1234567890"
options.CurveNumber = 0 options.CurveNumber = 0
options.TextLength = 6 options.TextLength = 6
options.Palette = palette.WebSafe
}) })
NewMathExpr(100, 34, func(options *Options) { NewMathExpr(100, 34, func(options *Options) {