more tests

This commit is contained in:
Sergey Kamardin 2018-04-02 17:15:43 +03:00
parent 19c076cdf2
commit f00a7392b4
1 changed files with 4 additions and 0 deletions

View File

@ -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),