Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gobwas committed Apr 2, 2018
1 parent 19c076c commit f00a739
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions glob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down

0 comments on commit f00a739

Please sign in to comment.