From 2b2d35de69d5555372ff078780df88b43b646766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Fri, 10 Dec 2021 20:09:36 +0100 Subject: [PATCH] Delete duplicate "`Array#reverse` is not a constructor" test (#3342) It's already tested by test/built-ins/Array/prototype/reverse/not-a-constructor.js --- .../Array/prototype/reverse/S15.4.4.8_A5.7.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js diff --git a/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js b/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js deleted file mode 100644 index d0c8a43521..0000000000 --- a/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -info: The reverse property of Array can't be used as constructor -esid: sec-array.prototype.reverse -description: > - If property does not implement the internal [[Construct]] method, - throw a TypeError exception ----*/ - -assert.throws(TypeError, () => { - new Array.prototype.reverse(); -});