forked from mirror/glob
more tests
This commit is contained in:
parent
19c076cdf2
commit
f00a7392b4
|
@ -130,6 +130,10 @@ func TestGlob(t *testing.T) {
|
||||||
glob(false, "{*.google.*,yandex.*}", "www.yandex.com", '.'),
|
glob(false, "{*.google.*,yandex.*}", "www.yandex.com", '.'),
|
||||||
glob(false, "{*.google.*,yandex.*}", "google.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(true, pattern_all, fixture_all_match),
|
||||||
glob(false, pattern_all, fixture_all_mismatch),
|
glob(false, pattern_all, fixture_all_mismatch),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue