Compare commits
1 Commits
9cefb4f925
...
f6e8ab5514
Author | SHA1 | Date | |
---|---|---|---|
f6e8ab5514 |
@ -113,7 +113,7 @@ func TestRuleEqGtLt(t *testing.T) {
|
||||
check(t, fail2, 3)
|
||||
}
|
||||
|
||||
func TestRuleEqGteLte(t *testing.T) {
|
||||
func TestRuleGteLte(t *testing.T) {
|
||||
type s struct {
|
||||
U uint `validate:"gte=0,lte=10"`
|
||||
I int `validate:"gte=-10,lte=0"`
|
||||
|
Loading…
Reference in New Issue
Block a user