mirror of https://github.com/tc39/test262.git
regexp-generator: Update output path
Instead of an output/ folder, output the tests directly into the folder where they live.
This commit is contained in:
parent
99be4228ef
commit
c8c800c845
|
@ -54,7 +54,8 @@ assert.sameValue(
|
|||
}
|
||||
|
||||
function writeFile(desc, content, suffix = '') {
|
||||
const filename = `output/character-class-${slugify(filenamify(desc.toLowerCase()))}${suffix}.js`;
|
||||
const outPath = '../../test/built-ins/RegExp/CharacterClassEscapes';
|
||||
const filename = `${outPath}/character-class-${slugify(filenamify(desc.toLowerCase()))}${suffix}.js`;
|
||||
fs.writeFileSync(filename, content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue