From c7dc8812a2a9ecef03a5b3e59c1801a4442a6a90 Mon Sep 17 00:00:00 2001 From: amiraliucsc Date: Sun, 19 Apr 2020 18:44:55 +0000 Subject: [PATCH] Add more tests Signed-off-by: amiraliucsc --- validator_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator_test.go b/validator_test.go index 32d2062..68e8132 100644 --- a/validator_test.go +++ b/validator_test.go @@ -7899,6 +7899,8 @@ func TestHostnameRFC952Validation(t *testing.T) { {"example..........com", false}, {"1234", false}, {"abc1234", true}, + {"example. com", false}, + {"ex ample.com", false}, } validate := New()