Ensure test file YAML blocks don't have a trailing space. (#2018)

This commit is contained in:
Ross Kirsling 2019-01-07 05:40:39 -08:00 committed by Leo Balter
parent 1b524be1c9
commit d0f57bff72
63 changed files with 63 additions and 63 deletions

View File

@ -11,7 +11,7 @@
invocation, coerced to a string. If specified, the first argument will be invocation, coerced to a string. If specified, the first argument will be
coerced to a string, escaped, and set as the element's `name` attribute. coerced to a string, escaped, and set as the element's `name` attribute.
es6id: B.2.3.2 es6id: B.2.3.2
---*/ ---*/
assert.sameValue('_'.anchor('b'), '<a name="b">_</a>'); assert.sameValue('_'.anchor('b'), '<a name="b">_</a>');
assert.sameValue('<'.anchor('<'), '<a name="<"><</a>'); assert.sameValue('<'.anchor('<'), '<a name="<"><</a>');

View File

@ -10,7 +10,7 @@
big element. The element's content is the `this` value of the function big element. The element's content is the `this` value of the function
invocation, coerced to a string. invocation, coerced to a string.
es6id: B.2.3.3 es6id: B.2.3.3
---*/ ---*/
assert.sameValue('_'.big(), '<big>_</big>'); assert.sameValue('_'.big(), '<big>_</big>');
assert.sameValue('<'.big(), '<big><</big>'); assert.sameValue('<'.big(), '<big><</big>');

View File

@ -10,7 +10,7 @@
blink element. The element's content is the `this` value of the function blink element. The element's content is the `this` value of the function
invocation, coerced to a string. invocation, coerced to a string.
es6id: B.2.3.4 es6id: B.2.3.4
---*/ ---*/
assert.sameValue('_'.blink(), '<blink>_</blink>'); assert.sameValue('_'.blink(), '<blink>_</blink>');
assert.sameValue('<'.blink(), '<blink><</blink>'); assert.sameValue('<'.blink(), '<blink><</blink>');

View File

@ -10,7 +10,7 @@
bold element. The element's content is the `this` value of the function bold element. The element's content is the `this` value of the function
invocation, coerced to a string. invocation, coerced to a string.
es6id: B.2.3.5 es6id: B.2.3.5
---*/ ---*/
assert.sameValue('_'.bold(), '<b>_</b>'); assert.sameValue('_'.bold(), '<b>_</b>');
assert.sameValue('<'.bold(), '<b><</b>'); assert.sameValue('<'.bold(), '<b><</b>');

View File

@ -10,7 +10,7 @@
teletype text element. The element's content is the `this` value of the teletype text element. The element's content is the `this` value of the
function invocation, coerced to a string. function invocation, coerced to a string.
es6id: B.2.3.6 es6id: B.2.3.6
---*/ ---*/
assert.sameValue('_'.fixed(), '<tt>_</tt>'); assert.sameValue('_'.fixed(), '<tt>_</tt>');
assert.sameValue('<'.fixed(), '<tt><</tt>'); assert.sameValue('<'.fixed(), '<tt><</tt>');

View File

@ -12,7 +12,7 @@
will be coerced to a string, escaped, and set as the element's `color` will be coerced to a string, escaped, and set as the element's `color`
attribute. attribute.
es6id: B.2.3.7 es6id: B.2.3.7
---*/ ---*/
assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>'); assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>');
assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>'); assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>');

View File

@ -12,7 +12,7 @@
will be coerced to a string, escaped, and set as the element's `size` will be coerced to a string, escaped, and set as the element's `size`
attribute. attribute.
es6id: B.2.3.8 es6id: B.2.3.8
---*/ ---*/
assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>'); assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>');
assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>'); assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>');

View File

@ -10,7 +10,7 @@
italic element. The element's content is the `this` value of the function italic element. The element's content is the `this` value of the function
invocation, coerced to a string. invocation, coerced to a string.
es6id: B.2.3.9 es6id: B.2.3.9
---*/ ---*/
assert.sameValue('_'.italics(), '<i>_</i>'); assert.sameValue('_'.italics(), '<i>_</i>');
assert.sameValue('<'.italics(), '<i><</i>'); assert.sameValue('<'.italics(), '<i><</i>');

View File

@ -11,7 +11,7 @@
invocation, coerced to a string. If specified, the first argument will be invocation, coerced to a string. If specified, the first argument will be
coerced to a string, escaped, and set as the element's `href` attribute. coerced to a string, escaped, and set as the element's `href` attribute.
es6id: B.2.3.10 es6id: B.2.3.10
---*/ ---*/
assert.sameValue('_'.link('b'), '<a href="b">_</a>'); assert.sameValue('_'.link('b'), '<a href="b">_</a>');
assert.sameValue('<'.link('<'), '<a href="<"><</a>'); assert.sameValue('<'.link('<'), '<a href="<"><</a>');

View File

@ -10,7 +10,7 @@
small print element. The element's content is the `this` value of the small print element. The element's content is the `this` value of the
function invocation, coerced to a string. function invocation, coerced to a string.
es6id: B.2.3.11 es6id: B.2.3.11
---*/ ---*/
assert.sameValue('_'.small(), '<small>_</small>'); assert.sameValue('_'.small(), '<small>_</small>');
assert.sameValue('<'.small(), '<small><</small>'); assert.sameValue('<'.small(), '<small><</small>');

View File

@ -10,7 +10,7 @@
strikethrough element. The element's content is the `this` value of the strikethrough element. The element's content is the `this` value of the
function invocation, coerced to a string. function invocation, coerced to a string.
es6id: B.2.3.12 es6id: B.2.3.12
---*/ ---*/
assert.sameValue('_'.strike(), '<strike>_</strike>'); assert.sameValue('_'.strike(), '<strike>_</strike>');
assert.sameValue('<'.strike(), '<strike><</strike>'); assert.sameValue('<'.strike(), '<strike><</strike>');

View File

@ -10,7 +10,7 @@
subscript element. The element's content is the `this` value of the subscript element. The element's content is the `this` value of the
function invocation, coerced to a string. function invocation, coerced to a string.
es6id: B.2.3.13 es6id: B.2.3.13
---*/ ---*/
assert.sameValue('_'.sub(), '<sub>_</sub>'); assert.sameValue('_'.sub(), '<sub>_</sub>');
assert.sameValue('<'.sub(), '<sub><</sub>'); assert.sameValue('<'.sub(), '<sub><</sub>');

View File

@ -10,7 +10,7 @@
superscript element. The element's content is the `this` value of the superscript element. The element's content is the `this` value of the
function invocation, coerced to a string. function invocation, coerced to a string.
es6id: B.2.3.14 es6id: B.2.3.14
---*/ ---*/
assert.sameValue('_'.sup(), '<sup>_</sup>'); assert.sameValue('_'.sup(), '<sup>_</sup>');
assert.sameValue('<'.sup(), '<sup><</sup>'); assert.sameValue('<'.sup(), '<sup><</sup>');

View File

@ -6,7 +6,7 @@ description: >
The method should return a valid iterator with the context as the The method should return a valid iterator with the context as the
IteratedObject. IteratedObject.
features: [Symbol.iterator] features: [Symbol.iterator]
---*/ ---*/
var map = new Map(); var map = new Map();
map.set(1, 11); map.set(1, 11);

View File

@ -11,7 +11,7 @@ description: >
redefined in 'O' with all correct attribute values (10.6 redefined in 'O' with all correct attribute values (10.6
[[DefineOwnProperty]] step 3) [[DefineOwnProperty]] step 3)
includes: [propertyHelper.js] includes: [propertyHelper.js]
---*/ ---*/
; ;
(function(a, b, c) { (function(a, b, c) {

View File

@ -6,7 +6,7 @@
The initial value of the keys property is the same function object as the The initial value of the keys property is the same function object as the
initial value of the values property. initial value of the values property.
es6id: 23.2.3.8 es6id: 23.2.3.8
---*/ ---*/
assert.sameValue( assert.sameValue(
Set.prototype.keys, Set.prototype.keys,

View File

@ -5,7 +5,7 @@
description: > description: >
Returns an iterator that's already done if Set is empty. Returns an iterator that's already done if Set is empty.
es6id: 23.2.3.10 es6id: 23.2.3.10
---*/ ---*/
var set = new Set(); var set = new Set();
var iterator = set.values(); var iterator = set.values();

View File

@ -6,7 +6,7 @@
The method should return a valid iterator with the context as the The method should return a valid iterator with the context as the
IteratedObject. IteratedObject.
es6id: 23.2.3.10 es6id: 23.2.3.10
---*/ ---*/
var set = new Set(); var set = new Set();
set.add(1); set.add(1);

View File

@ -8,7 +8,7 @@
accessible via iteration. When an item is added to the set after the accessible via iteration. When an item is added to the set after the
iterator is "done", the new item should not be accessible via iteration. iterator is "done", the new item should not be accessible via iteration.
es6id: 23.2.3.10 es6id: 23.2.3.10
---*/ ---*/
var set = new Set(); var set = new Set();
set.add(1); set.add(1);

View File

@ -7,7 +7,7 @@ description: >
IteratedObject. IteratedObject.
features: features:
- Symbol.iterator - Symbol.iterator
---*/ ---*/
var set = new Set(); var set = new Set();
set.add(1); set.add(1);

View File

@ -8,7 +8,7 @@ description: >
CoverParenthesizedExpressionAndArrowParameterList[?Yield] CoverParenthesizedExpressionAndArrowParameterList[?Yield]
12.14.5 12.14.5
---*/ ---*/
var af = ({x = 1}) => x; var af = ({x = 1}) => x;
assert.sameValue(typeof af, "function"); assert.sameValue(typeof af, "function");

View File

@ -7,7 +7,7 @@
`yield` expression. `yield` expression.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -6,7 +6,7 @@
`return` is a valid statement within generator function bodies. `return` is a valid statement within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -6,7 +6,7 @@
`yield` is a valid expression within generator function bodies. `yield` is a valid expression within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -6,7 +6,7 @@
`yield` is a valid expression within generator function bodies. `yield` is a valid expression within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -8,7 +8,7 @@
features: [generators] features: [generators]
es6id: 14.1 es6id: 14.1
flags: [noStrict] flags: [noStrict]
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -8,7 +8,7 @@
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
flags: [noStrict] flags: [noStrict]
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -8,7 +8,7 @@
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
flags: [noStrict] flags: [noStrict]
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -7,7 +7,7 @@
within generator function bodies. within generator function bodies.
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -10,7 +10,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -7,7 +7,7 @@
within generator function bodies. within generator function bodies.
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -6,7 +6,7 @@
`yield` is a valid statement within generator function bodies. `yield` is a valid statement within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -7,7 +7,7 @@
expressions. expressions.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -6,7 +6,7 @@
Newlines terminate `yield` expressions. Newlines terminate `yield` expressions.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
var obj = { var obj = {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -6,7 +6,7 @@
The right-hand side of a `yield *` expression may appear on a new line. The right-hand side of a `yield *` expression may appear on a new line.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
var obj = { var obj = {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -5,6 +5,6 @@
description: > description: >
`yield` may be used as a literal property name in an object literal. `yield` may be used as a literal property name in an object literal.
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
({ yield: 1 }); ({ yield: 1 });

View File

@ -10,7 +10,7 @@ negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -42,7 +42,7 @@ info: |
[...] [...]
flags: [module] flags: [module]
features: [export-star-as-namespace-from-module] features: [export-star-as-namespace-from-module]
---*/ ---*/
import {named} from './instn-star-props-dflt-skip-star-as-named_FIXTURE.js'; import {named} from './instn-star-props-dflt-skip-star-as-named_FIXTURE.js';
import {production} from './instn-star-props-dflt-skip-star-as-prod_FIXTURE.js'; import {production} from './instn-star-props-dflt-skip-star-as-prod_FIXTURE.js';

View File

@ -7,7 +7,7 @@
`yield` expression. `yield` expression.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
class A { class A {

View File

@ -6,7 +6,7 @@
`return` is a valid statement within generator function bodies. `return` is a valid statement within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
class A { class A {

View File

@ -6,7 +6,7 @@
`yield` is a valid expression within generator function bodies. `yield` is a valid expression within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -6,7 +6,7 @@
`yield` is a valid expression within generator function bodies. `yield` is a valid expression within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -10,7 +10,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -7,7 +7,7 @@
strict mode. strict mode.
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -10,7 +10,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -7,7 +7,7 @@
within generator function bodies. within generator function bodies.
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
var result; var result;
class A { class A {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -10,7 +10,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -7,7 +7,7 @@
within generator function bodies. within generator function bodies.
features: [generators] features: [generators]
es6id: 12.1.1 es6id: 12.1.1
---*/ ---*/
var result; var result;
class A { class A {

View File

@ -6,7 +6,7 @@
`yield` is a valid statement within generator function bodies. `yield` is a valid statement within generator function bodies.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -7,7 +7,7 @@
expressions. expressions.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -6,7 +6,7 @@
Newlines terminate `yield` expressions. Newlines terminate `yield` expressions.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var iter, result; var iter, result;
class A { class A {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -6,7 +6,7 @@
The right-hand side of a `yield *` expression may appear on a new line. The right-hand side of a `yield *` expression may appear on a new line.
features: [generators] features: [generators]
es6id: 14.4 es6id: 14.4
---*/ ---*/
var result; var result;
class A { class A {

View File

@ -9,7 +9,7 @@
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();

View File

@ -6,7 +6,7 @@
The method should return a valid iterator that can be traversed using a The method should return a valid iterator that can be traversed using a
`for...of` loop. `for...of` loop.
es6id: 22.1.3.4 es6id: 22.1.3.4
---*/ ---*/
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN]; var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
var i = 0; var i = 0;

View File

@ -6,7 +6,7 @@
The method should return a valid iterator that can be traversed using a The method should return a valid iterator that can be traversed using a
`for...of` loop. `for...of` loop.
es6id: 22.1.3.13 es6id: 22.1.3.13
---*/ ---*/
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN]; var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
var i = 0; var i = 0;

View File

@ -5,7 +5,7 @@
description: > description: >
Array instances should be able to be traversed using a `for...of` loop. Array instances should be able to be traversed using a `for...of` loop.
es6id: 13.6.4 es6id: 13.6.4
---*/ ---*/
var array = [0, 'a', true, false, null, /* hole */, undefined, NaN]; var array = [0, 'a', true, false, null, /* hole */, undefined, NaN];
var i = 0; var i = 0;

View File

@ -7,6 +7,6 @@
used as a label. used as a label.
es6id: 12.1.1 es6id: 12.1.1
flags: [noStrict] flags: [noStrict]
---*/ ---*/
yield: 1; yield: 1;

View File

@ -10,7 +10,7 @@
phase: parse phase: parse
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
---*/ ---*/
$DONOTEVALUATE(); $DONOTEVALUATE();