globs: adding tests for char-range.

locals-and-roots
John Benediktsson 2016-03-27 18:55:45 -07:00
parent ffbd9e4754
commit 5f11bf63b6
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ IN: globs.tests
{ f } [ "foo." "*.{xml,txt}" glob-matches? ] unit-test
{ t } [ "foo." "*.{,xml,txt}" glob-matches? ] unit-test
{ t } [ "foo.{" "*.{" glob-matches? ] unit-test
{ t } [ "foo" "[a-z]oo" glob-matches? ] unit-test
{ f } [ "foo" "[g-z]oo" glob-matches? ] unit-test
{ f } [ "foo" "bar" append-path "*" glob-matches? ] unit-test
{ t } [ "foo" "bar" append-path "*" "*" append-path glob-matches? ] unit-test