diff --git a/tools/lint/test/fixtures/license_invalid_year_range.js b/tools/lint/test/fixtures/license_invalid_year_range.js new file mode 100644 index 0000000000..1a759b63ea --- /dev/null +++ b/tools/lint/test/fixtures/license_invalid_year_range.js @@ -0,0 +1,10 @@ +LICENSE +^ expected errors | v input +// Copyright (C) 2012-2019 Mike Pennisi. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +esid: sec-assignment-operators-static-semantics-early-errors +description: Applied to a "covered" YieldExpression +---*/ + +void 0; diff --git a/tools/lint/test/fixtures/license_missing.js b/tools/lint/test/fixtures/license_missing.js index e981dc7dbe..3d90cf27f3 100644 --- a/tools/lint/test/fixtures/license_missing.js +++ b/tools/lint/test/fixtures/license_missing.js @@ -1,3 +1,4 @@ +LICENSE ^ expected errors | v input /*--- esid: sec-assignment-operators-static-semantics-early-errors