diff --git a/go.mod b/go.mod deleted file mode 100644 index 6c20678..0000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module git.fuyu.moe/Fuyu/validate - -go 1.17 diff --git a/rules_test.go b/rules_test.go index 9eedca2..409c8fc 100644 --- a/rules_test.go +++ b/rules_test.go @@ -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"`