Skip to content

Commit

Permalink
Fix yaml consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter authored and rwaldron committed Mar 6, 2018
1 parent 52f70e2 commit ac55e29
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
/*---
esid: prod-NumericLiteralSeparator
description: DecimalDigits NumericLiteralSeparator DecimalDigit
info:
NumericLiteralSeparator ::
_
info: |
NumericLiteralSeparator :: _
DecimalDigits ::
...
DecimalDigits NumericLiteralSeparator DecimalDigit
features: [numeric-separator-literal]
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/ObjectOverride-sameproperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Object properties are assigned to target in ascending index order,
i.e. a later assignment to the same property overrides an earlier assignment.
description: >
Object properties are assigned to target in ascending index order,
i.e. a later assignment to the same property overrides an earlier assignment.
es6id: 19.1.2.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/OnlyOneArgument.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: test Object.Assign(target,...sources),only one argument was passed,
return ToObject(target)
description: >
test Object.Assign(target,...sources),only one argument was passed,
return ToObject(target)
es6id: 19.1.2.1.3
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Override-notstringtarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test override of Object.Assign(target,...sources),
Every string from sources will be wrapped to objects, and override from the first letter(result[0]) all the time
description: >
Test override of Object.Assign(target,...sources),
Every string from sources will be wrapped to objects, and override from the first letter(result[0]) all the time
es6id: 19.1.2.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Source-Number-Boolen-Symbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Number,Boolean,Symbol cannot have own enumerable properties,
So cannot be Assigned.Here result should be original object.
description: >
Number,Boolean,Symbol cannot have own enumerable properties,
So cannot be Assigned.Here result should be original object.
esid: sec-object.assign
features: [Symbol]
---*/
Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Boolean.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Boolean,the return value should be a new object whose value is target.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is Boolean,the return value should be a new object whose value is target.
es6id: 19.1.2.1.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Null.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is null,Should Throw a TypeError exception.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is null,Should Throw a TypeError exception.
es6id: 19.1.2.1.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Number.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Number,the return value should be a new object whose value is target.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is Number,the return value should be a new object whose value is target.
es6id: 19.1.2.1.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Object,its properties will be the properties of new object.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is Object,its properties will be the properties of new object.
es6id: 19.1.2.1.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-String.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is String,the return value should be a new object whose value is target.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is String,the return value should be a new object whose value is target.
es6id: 19.1.2.1.1
---*/

Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Symbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Symbol,the return value should be a new Symbol object whose [[SymbolData]] value is target.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is Symbol,the return value should be a new Symbol object whose [[SymbolData]] value is target.
es6id: 19.1.2.1.1
features: [Symbol]
---*/
Expand Down
5 changes: 3 additions & 2 deletions test/built-ins/Object/assign/Target-Undefined.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// This code is governed by the license found in the LICENSE file.

/*---
description: Test the first argument(target) of Object.Assign(target,...sources),
if target is Undefined,Should Throw a TypeError exception.
description: >
Test the first argument(target) of Object.Assign(target,...sources),
if target is Undefined,Should Throw a TypeError exception.
es6id: 19.1.2.1.1
---*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: A missing > following $< means that the $< is taken literally
description: >
A missing > following $< means that the $< is taken literally
in a replacement string in the context of named capture substitution.
esid: sec-getsubstitution
features: [regexp-named-groups]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: lastIndex is read and reset to 0 when global is set and the match
fails.
description: >
lastIndex is read and reset to 0 when global is set and the match fails.
es6id: 21.2.5.2.2
info: |
21.2.5.2.2 Runtime Semantics: RegExpBuiltinExec ( R, S )
Expand Down

0 comments on commit ac55e29

Please sign in to comment.