Compare commits

..

1 Commits

Author SHA1 Message Date
Crow Crowcrow f6e8ab5514
Add lte and gte 2021-11-11 10:37:14 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -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"`