diff options
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, /\/$/) }) }) |