Skip to content

Commit

Permalink
chore: Fix minimatch pattern error in tests on Windows (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unnvaldr committed May 15, 2020
1 parent 4fed0bd commit 0708fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/utils/paths.test.ts
Expand Up @@ -20,7 +20,7 @@ describe('Paths', () => {
});

it('Minimatch can match absolute paths expressions', () => {
const paths = ['/unix/absolute/**/path', '\\windows\\alternative\\absolute\\path', 'C:\\Windows\\absolute\\*\\path', '**/arbitrary/path/**'];
const paths = ['/unix/absolute/**/path', '\\windows\\alternative\\absolute\\path', '\\Windows\\absolute\\*\\path', '**/arbitrary/path/**'];
const mms = createMinimatch(paths);
const patterns = mms.map(({ pattern }) => pattern);
const comparePaths = [
Expand Down

0 comments on commit 0708fb8

Please sign in to comment.