u
This commit is contained in:
@@ -155,7 +155,7 @@ function cases() {
|
||||
name: 'filePattern include-only excludes md',
|
||||
before: { 'a.txt': 'hit', 'b.md': 'hit' },
|
||||
args: async ({ dir }) => ({ pattern: 'hit', filePattern: path.relative(chrootRoot, path.join(dir, '**/*.txt')), n_flag: true, i_flag: false }),
|
||||
expect: { equals: `${path.relative(chrootRoot, path.join(sandboxRoot, '08-filepattern-negation-excludes-md/a.txt'))}:1:hit` }
|
||||
expect: { equals: `${path.relative(chrootRoot, path.join(sandboxRoot, '08-filepattern-include-only-excludes-md/a.txt'))}:1:hit` }
|
||||
});
|
||||
|
||||
// 9. Empty filePattern searches all (we'll scope to the case dir by pattern and path shape)
|
||||
|
||||
Reference in New Issue
Block a user