Skip to content

Commit 2661f23

Browse files
authored
fix typo in globstars.js test name (#138)
1 parent 1798b07 commit 2661f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/globstars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('stars', () => {
5757
assert.deepStrictEqual(match(['.md/.md', '.md/foo/.md', '.md', 'a/.md', 'a/b/.md'], '.md/**/.md'), ['.md/.md', '.md/foo/.md']);
5858
});
5959

60-
it('should respect trailing slashes on paterns', () => {
60+
it('should respect trailing slashes on patterns', () => {
6161
const fixtures = ['a', 'a/', 'a/a', 'a/a/', 'a/a/a', 'a/a/a/', 'a/a/a/a', 'a/a/a/a/', 'a/a/a/a/a', 'a/a/a/a/a/', 'a/a/b', 'a/a/b/', 'a/b', 'a/b/', 'a/b/c/.d/e/', 'a/c', 'a/c/', 'a/b', 'a/x/', 'b', 'b/', 'x/y', 'x/y/', 'z/z', 'z/z/'];
6262

6363
assert.deepStrictEqual(match(fixtures, '**/*/a/'), ['a/a/', 'a/a/a/', 'a/a/a/a/', 'a/a/a/a/a/']);

0 commit comments

Comments
 (0)