File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3064,13 +3064,13 @@ describe("ESLint", () => {
3064
3064
eslint = new ESLint ( {
3065
3065
flags,
3066
3066
overrideConfigFile : true ,
3067
- cwd : `${ otherDriveLetter } :\\`
3067
+ cwd : `${ otherDriveLetter } :\\files `
3068
3068
} ) ;
3069
- const pattern = `${ otherDriveLetter } :\\pa*ng .*` ;
3069
+ const pattern = `${ otherDriveLetter } :\\files\\??? .*` ;
3070
3070
const results = await eslint . lintFiles ( [ pattern ] ) ;
3071
3071
3072
3072
assert . strictEqual ( results . length , 1 ) ;
3073
- assert . strictEqual ( results [ 0 ] . filePath , `${ otherDriveLetter } :\\passing .js` ) ;
3073
+ assert . strictEqual ( results [ 0 ] . filePath , `${ otherDriveLetter } :\\files\\foo .js` ) ;
3074
3074
assert . strictEqual ( results [ 0 ] . messages . length , 0 ) ;
3075
3075
assert . strictEqual ( results [ 0 ] . errorCount , 0 ) ;
3076
3076
assert . strictEqual ( results [ 0 ] . warningCount , 0 ) ;
You can’t perform that action at this time.
0 commit comments