Skip to content

Commit

Permalink
Add test case for non-extglob parens with trailing separator
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Nov 14, 2016
1 parent c694462 commit e207b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.js
Expand Up @@ -30,6 +30,7 @@ describe('glob-parent', function() {
assert.equal(gp('/(a|b)'), '/');
assert.equal(gp('./(a|b)'), '.');
assert.equal(gp('a/(b c)'), 'a', 'not an extglob');
assert.equal(gp('a/(b c)/'), 'a/(b c)', 'not an extglob');
assert.equal(gp('a/(b c)/d'), 'a/(b c)', 'not an extglob');
assert.equal(gp('path/to/*.js'), 'path/to');
assert.equal(gp('/root/path/to/*.js'), '/root/path/to');
Expand Down

0 comments on commit e207b0c

Please sign in to comment.