mirror of https://github.com/tc39/test262.git
This commit is contained in:
parent
72a64280ae
commit
58740a7088
|
@ -107,8 +107,6 @@
|
||||||
<test id="S7.8.4_A4.3_T3">https://bugs.ecmascript.org/show_bug.cgi?id=80</test>
|
<test id="S7.8.4_A4.3_T3">https://bugs.ecmascript.org/show_bug.cgi?id=80</test>
|
||||||
<test id="S7.8.4_A4.3_T4">https://bugs.ecmascript.org/show_bug.cgi?id=80</test>
|
<test id="S7.8.4_A4.3_T4">https://bugs.ecmascript.org/show_bug.cgi?id=80</test>
|
||||||
|
|
||||||
<test id="S15.10.6_A2">https://bugs.ecmascript.org/show_bug.cgi?id=22</test>
|
|
||||||
|
|
||||||
<test id="S15.5.4.10_A1_T3">https://bugs.ecmascript.org/show_bug.cgi?id=23</test>
|
<test id="S15.5.4.10_A1_T3">https://bugs.ecmascript.org/show_bug.cgi?id=23</test>
|
||||||
|
|
||||||
<test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test>
|
<test id="S15.5.4.8_A1_T11">https://bugs.ecmascript.org/show_bug.cgi?id=30</test>
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
||||||
// This code is governed by the BSD license found in the LICENSE file.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name: S15.10.6_A2;
|
|
||||||
* @section: 15.10.6;
|
|
||||||
* @assertion: The value of the internal [[Class]] property of the RegExp prototype object is "Object";
|
|
||||||
* @description: Checking performs with toString function;
|
|
||||||
*/
|
|
||||||
|
|
||||||
RegExp.prototype.toString = Object.prototype.toString;
|
|
||||||
|
|
||||||
//CHECK#1
|
|
||||||
if (RegExp.prototype.toString() !== "[object " + "Object" + "]") {
|
|
||||||
$ERROR('#1: RegExp.prototype.toString = Object.prototype.toString; RegExp.prototype.toString() === "[object " + "Object" + "]". Actual: ' + RegExp.prototype.toString());
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue