From f00a7392b43971b2fdb562418faab1f18da2067a Mon Sep 17 00:00:00 2001 From: Sergey Kamardin Date: Mon, 2 Apr 2018 17:15:43 +0300 Subject: [PATCH] more tests --- glob_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glob_test.go b/glob_test.go index 9893451..810036f 100644 --- a/glob_test.go +++ b/glob_test.go @@ -130,6 +130,10 @@ func TestGlob(t *testing.T) { glob(false, "{*.google.*,yandex.*}", "www.yandex.com", '.'), glob(false, "{*.google.*,yandex.*}", "google.com", '.'), + glob(true, "*//{,*.}example.com", "https://www.example.com"), + glob(true, "*//{,*.}example.com", "http://example.com"), + glob(false, "*//{,*.}example.com", "http://example.com.net"), + glob(true, pattern_all, fixture_all_match), glob(false, pattern_all, fixture_all_mismatch),