This commit is contained in:
Sergey Kamardin 2018-10-02 22:02:43 +03:00
parent e4652bc1f4
commit 9cd1b6671f
2 changed files with 3 additions and 1 deletions

View File

@ -152,6 +152,8 @@ func TestGlob(t *testing.T) {
glob(true, "*//{,*.}example.com", "http://example.com"), glob(true, "*//{,*.}example.com", "http://example.com"),
glob(false, "*//{,*.}example.com", "http://example.com.net"), glob(false, "*//{,*.}example.com", "http://example.com.net"),
glob(true, "{a*,b}c", "abc", '.'),
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),

View File

@ -3,7 +3,7 @@ package match
import ( import (
"fmt" "fmt"
"gopkg.in/readline.v1/runes" "github.com/gobwas/glob/util/runes"
) )
func Optimize(m Matcher) Matcher { func Optimize(m Matcher) Matcher {