Compare commits
1 commit
f6e8ab5514
...
9cefb4f925
Author | SHA1 | Date | |
---|---|---|---|
9cefb4f925 |
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func TestRuleEqGtLt(t *testing.T) {
|
|||
check(t, fail2, 3)
|
||||
}
|
||||
|
||||
func TestRuleGteLte(t *testing.T) {
|
||||
func TestRuleEqGteLte(t *testing.T) {
|
||||
type s struct {
|
||||
U uint `validate:"gte=0,lte=10"`
|
||||
I int `validate:"gte=-10,lte=0"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue