forked from Fuyu/validate
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
6942b984c1 | |||
e810582264 | |||
7405c824fe |
@ -143,7 +143,7 @@ func TestRuleGteLte(t *testing.T) {
|
||||
check(t, fail5, 1)
|
||||
}
|
||||
|
||||
func TestLenMinMax(t *testing.T) {
|
||||
func TestRuleLenMinMax(t *testing.T) {
|
||||
type s struct {
|
||||
A string `validate:"len=3"`
|
||||
B []int `validate:"min=2"`
|
||||
|
Loading…
Reference in New Issue
Block a user