mirror of https://github.com/tc39/test262.git
Fixed invalid configuration block delimiters.
Two tests started the configuration block with a /*-- instead of a /*---.
This commit is contained in:
parent
408318bfb0
commit
a5e4c2ade5
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
|
|
||||||
/*--
|
/*---
|
||||||
description: Object properties are assigned to target in ascending index order,
|
description: Object properties are assigned to target in ascending index order,
|
||||||
i.e. a later assignment to the same property overrides an earlier assignment.
|
i.e. a later assignment to the same property overrides an earlier assignment.
|
||||||
es6id: 19.1.2.1
|
es6id: 19.1.2.1
|
||||||
--*/
|
---*/
|
||||||
|
|
||||||
var target = {a: 1};
|
var target = {a: 1};
|
||||||
var result = Object.assign(target,{a:2},{a:"c"});
|
var result = Object.assign(target,{a:2},{a:"c"});
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||||
// This code is governed by the license found in the LICENSE file.
|
// This code is governed by the license found in the LICENSE file.
|
||||||
|
|
||||||
/*--
|
/*---
|
||||||
description: Number,Boolean,Symbol cannot have own enumerable properties,
|
description: Number,Boolean,Symbol cannot have own enumerable properties,
|
||||||
So cannot be Assigned.Here result should be original object.
|
So cannot be Assigned.Here result should be original object.
|
||||||
es6id: 19.1.2.1.5.c
|
es6id: 19.1.2.1.5.c
|
||||||
--*/
|
---*/
|
||||||
|
|
||||||
var target = new Object();
|
var target = new Object();
|
||||||
var result = Object.assign(target,123,true,Symbol('foo'));
|
var result = Object.assign(target,123,true,Symbol('foo'));
|
||||||
|
|
Loading…
Reference in New Issue