Add more tests

Signed-off-by: amiraliucsc <amirali7089@gmail.com>
pull/600/head
amiraliucsc 5 years ago
parent 1611f1e72c
commit c7dc8812a2
  1. 2
      validator_test.go

@ -7899,6 +7899,8 @@ func TestHostnameRFC952Validation(t *testing.T) {
{"example..........com", false}, {"example..........com", false},
{"1234", false}, {"1234", false},
{"abc1234", true}, {"abc1234", true},
{"example. com", false},
{"ex ample.com", false},
} }
validate := New() validate := New()

Loading…
Cancel
Save