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