Skip to content
Snippets Groups Projects
Commit d0f57bff authored by Ross Kirsling's avatar Ross Kirsling Committed by Leo Balter
Browse files

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

parent 1b524be1
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
......@@ -11,7 +11,7 @@
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.
es6id: B.2.3.2
---*/
---*/
assert.sameValue('_'.anchor('b'), '<a name="b">_</a>');
assert.sameValue('<'.anchor('<'), '<a name="<"><</a>');
......
......@@ -10,7 +10,7 @@
big element. The element's content is the `this` value of the function
invocation, coerced to a string.
es6id: B.2.3.3
---*/
---*/
assert.sameValue('_'.big(), '<big>_</big>');
assert.sameValue('<'.big(), '<big><</big>');
......
......@@ -10,7 +10,7 @@
blink element. The element's content is the `this` value of the function
invocation, coerced to a string.
es6id: B.2.3.4
---*/
---*/
assert.sameValue('_'.blink(), '<blink>_</blink>');
assert.sameValue('<'.blink(), '<blink><</blink>');
......
......@@ -10,7 +10,7 @@
bold element. The element's content is the `this` value of the function
invocation, coerced to a string.
es6id: B.2.3.5
---*/
---*/
assert.sameValue('_'.bold(), '<b>_</b>');
assert.sameValue('<'.bold(), '<b><</b>');
......
......@@ -10,7 +10,7 @@
teletype text element. The element's content is the `this` value of the
function invocation, coerced to a string.
es6id: B.2.3.6
---*/
---*/
assert.sameValue('_'.fixed(), '<tt>_</tt>');
assert.sameValue('<'.fixed(), '<tt><</tt>');
......
......@@ -12,7 +12,7 @@
will be coerced to a string, escaped, and set as the element's `color`
attribute.
es6id: B.2.3.7
---*/
---*/
assert.sameValue('_'.fontcolor('b'), '<font color="b">_</font>');
assert.sameValue('<'.fontcolor('<'), '<font color="<"><</font>');
......
......@@ -12,7 +12,7 @@
will be coerced to a string, escaped, and set as the element's `size`
attribute.
es6id: B.2.3.8
---*/
---*/
assert.sameValue('_'.fontsize('b'), '<font size="b">_</font>');
assert.sameValue('<'.fontsize('<'), '<font size="<"><</font>');
......
......@@ -10,7 +10,7 @@
italic element. The element's content is the `this` value of the function
invocation, coerced to a string.
es6id: B.2.3.9
---*/
---*/
assert.sameValue('_'.italics(), '<i>_</i>');
assert.sameValue('<'.italics(), '<i><</i>');
......
......@@ -11,7 +11,7 @@
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.
es6id: B.2.3.10
---*/
---*/
assert.sameValue('_'.link('b'), '<a href="b">_</a>');
assert.sameValue('<'.link('<'), '<a href="<"><</a>');
......
......@@ -10,7 +10,7 @@
small print element. The element's content is the `this` value of the
function invocation, coerced to a string.
es6id: B.2.3.11
---*/
---*/
assert.sameValue('_'.small(), '<small>_</small>');
assert.sameValue('<'.small(), '<small><</small>');
......
......@@ -10,7 +10,7 @@
strikethrough element. The element's content is the `this` value of the
function invocation, coerced to a string.
es6id: B.2.3.12
---*/
---*/
assert.sameValue('_'.strike(), '<strike>_</strike>');
assert.sameValue('<'.strike(), '<strike><</strike>');
......
......@@ -10,7 +10,7 @@
subscript element. The element's content is the `this` value of the
function invocation, coerced to a string.
es6id: B.2.3.13
---*/
---*/
assert.sameValue('_'.sub(), '<sub>_</sub>');
assert.sameValue('<'.sub(), '<sub><</sub>');
......
......@@ -10,7 +10,7 @@
superscript element. The element's content is the `this` value of the
function invocation, coerced to a string.
es6id: B.2.3.14
---*/
---*/
assert.sameValue('_'.sup(), '<sup>_</sup>');
assert.sameValue('<'.sup(), '<sup><</sup>');
......
......@@ -6,7 +6,7 @@ description: >
The method should return a valid iterator with the context as the
IteratedObject.
features: [Symbol.iterator]
---*/
---*/
var map = new Map();
map.set(1, 11);
......
......@@ -11,7 +11,7 @@ description: >
redefined in 'O' with all correct attribute values (10.6
[[DefineOwnProperty]] step 3)
includes: [propertyHelper.js]
---*/
---*/
;
(function(a, b, c) {
......
......@@ -6,7 +6,7 @@
The initial value of the keys property is the same function object as the
initial value of the values property.
es6id: 23.2.3.8
---*/
---*/
assert.sameValue(
Set.prototype.keys,
......
......@@ -5,7 +5,7 @@
description: >
Returns an iterator that's already done if Set is empty.
es6id: 23.2.3.10
---*/
---*/
var set = new Set();
var iterator = set.values();
......
......@@ -6,7 +6,7 @@
The method should return a valid iterator with the context as the
IteratedObject.
es6id: 23.2.3.10
---*/
---*/
var set = new Set();
set.add(1);
......
......@@ -8,7 +8,7 @@
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.
es6id: 23.2.3.10
---*/
---*/
var set = new Set();
set.add(1);
......
......@@ -7,7 +7,7 @@ description: >
IteratedObject.
features:
- Symbol.iterator
---*/
---*/
var set = new Set();
set.add(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment