test262/test/language/identifiers/vertical-tilde-continue.js
Csaba Osztrogonác 00f682e746 tools: enforce restriction on YAML negative key
The phase field must precede the type field for negative tests
to have a consistent style and be able to parse easier.
Related to the goal of https://github.com/tc39/test262/issues/1997

Added this check to the linting script and updated tests accordingly.
2022-01-10 13:50:38 -05:00

17 lines
420 B
JavaScript

// Copyright (C) 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-names-and-keywords
description: Test VERTICAL TILDE (U+2E2F) is not recognized as ID_Continue character.
info: |
VERTICAL TILDE is in General Category 'Lm' and [:Pattern_Syntax:].
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
var aⸯ; // U+2E2F