diff options
author | isaacs <i@izs.me> | 2014-02-17 04:03:00 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-02-17 04:03:00 +0400 |
commit | b20f9bf921a3842fe6392ed94c676b6d06ec253b (patch) | |
tree | 36d607d8e685df9da08a46046f54cb1885b89df5 /node_modules/glob/test/mark.js | |
parent | 62417bc1c91eeed7ba3e7b684026e6620c2df0aa (diff) |
glob@3.2.8
Diffstat (limited to 'node_modules/glob/test/mark.js')
-rw-r--r-- | node_modules/glob/test/mark.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/glob/test/mark.js b/node_modules/glob/test/mark.js index ed68a335c..e74282073 100644 --- a/node_modules/glob/test/mark.js +++ b/node_modules/glob/test/mark.js @@ -18,6 +18,8 @@ test("mark, no / on pattern", function (t) { t.same(results, expect) t.end() + }).on('match', function(m) { + t.similar(m, /\/$/) }) }) @@ -36,6 +38,8 @@ test("mark=false, no / on pattern", function (t) { expect.push('a/symlink') t.same(results, expect) t.end() + }).on('match', function(m) { + t.similar(m, /[^\/]$/) }) }) @@ -53,6 +57,8 @@ test("mark=true, / on pattern", function (t) { expect.push('a/symlink/') t.same(results, expect) t.end() + }).on('match', function(m) { + t.similar(m, /\/$/) }) }) @@ -70,5 +76,7 @@ test("mark=false, / on pattern", function (t) { expect.push('a/symlink/') t.same(results, expect) t.end() + }).on('match', function(m) { + t.similar(m, /\/$/) }) }) |