Merge pull request #401 from anba/remove_invalid_array_from_test

Remove invalid Array.from test
This commit is contained in:
Brian Terlson 2015-08-05 13:32:32 -07:00
commit e06ede9a65

View File

@ -1,13 +0,0 @@
// Copyright 2015 Microsoft Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*---
description: Passing array Buffer
es6id: 22.1.2.1
---*/
var arrayBuffer = new ArrayBuffer([ 1, 2, 4, 8, 16, 32, 64, 128 ]);
var a = Array.from(arrayBuffer);
for (var j = 0; j < a.length; j++) {
assert.sameValue(a[j], arrayBuffer[j], "Elements mismatch at " + j + ".");
}