replace whitelist by allowlist in parser-tests (#11727)

This commit is contained in:
Huáng Jùnliàng
2020-06-17 15:32:46 -04:00
committed by GitHub
parent fd3c76941e
commit e498bee10f
8 changed files with 38 additions and 38 deletions

View File

@@ -148,9 +148,9 @@ function* getPlugins(features) {
const runner = new TestRunner({
testDir: path.join(__dirname, "../../../build/test262"),
whitelist: path.join(__dirname, "whitelist.txt"),
allowlist: path.join(__dirname, "allowlist.txt"),
logInterval: 500,
shouldUpdate: process.argv.includes("--update-whitelist"),
shouldUpdate: process.argv.includes("--update-allowlist"),
async *getTests() {
const stream = new TestStream(this.testDir, {