test262/tools/lint/test/fixtures/esid_invalid.js
jugglinmike ac02aa57ff Relax linting rules for esid metadata (#1632)
The document fragments used by the ECMAScript specification do not
conform to any particular pattern beyond the grammar defined by the URL
standard [1]. Relax the linting rule to enforce a simplified version of
that grammar.

[1] https://url.spec.whatwg.org/#fragment-state
2018-07-09 12:29:43 -04:00

11 lines
243 B
JavaScript

ESID
^ expected errors | v input
// Copyright (C) 2018 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: something withaspace
description: Minimal test
---*/
function f() {}