mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
This script is intended to identify common test file formatting errors prior to their acceptance into the project. It is designed to support future extensions for additional validation rules.
16 lines
393 B
JavaScript
16 lines
393 B
JavaScript
FRONTMATTER
|
|
^ expected errors | v input
|
|
// Copyright (C) 2017 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
|
|
es6id: 12.14.1
|
|
description: Applied to a "covered" YieldExpression
|
|
info: This is some information
|
|
unrecognized_attr: foo
|
|
---*/
|
|
|
|
function* g() {
|
|
yield 23;
|
|
}
|