diff --git a/tests/run-ripgrep-tests.js b/tests/run-ripgrep-tests.js index a5b0385..7488983 100644 --- a/tests/run-ripgrep-tests.js +++ b/tests/run-ripgrep-tests.js @@ -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)