forked from Fuyu/validate
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
f6e8ab5514 |
2 changed files with 1 additions and 4 deletions
3
go.mod
3
go.mod
|
@ -1,3 +0,0 @@
|
|||
module git.fuyu.moe/Fuyu/validate
|
||||
|
||||
go 1.17
|
|
@ -143,7 +143,7 @@ func TestRuleGteLte(t *testing.T) {
|
|||
check(t, fail5, 1)
|
||||
}
|
||||
|
||||
func TestRuleLenMinMax(t *testing.T) {
|
||||
func TestLenMinMax(t *testing.T) {
|
||||
type s struct {
|
||||
A string `validate:"len=3"`
|
||||
B []int `validate:"min=2"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue