mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add tests for linter
This commit is contained in:
parent
cd79eada15
commit
002d3484d6
10
tools/lint/test/fixtures/license_invalid_year_range.js
vendored
Normal file
10
tools/lint/test/fixtures/license_invalid_year_range.js
vendored
Normal file
@ -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;
|
1
tools/lint/test/fixtures/license_missing.js
vendored
1
tools/lint/test/fixtures/license_missing.js
vendored
@ -1,3 +1,4 @@
|
||||
LICENSE
|
||||
^ expected errors | v input
|
||||
/*---
|
||||
esid: sec-assignment-operators-static-semantics-early-errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user