mirror of https://github.com/tc39/test262.git
Update test/built-ins/eval/no-construct.js
This commit is contained in:
parent
a6a06d263a
commit
ae0cf675bf
|
@ -13,7 +13,6 @@ description: >
|
||||||
|
|
||||||
try {
|
try {
|
||||||
new eval();
|
new eval();
|
||||||
throw new Test262Error('#1.1: new eval() throw TypeError. Actual: ' + (new eval()));
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if ((e instanceof TypeError) !== true) {
|
if ((e instanceof TypeError) !== true) {
|
||||||
throw new Test262Error('#1.2: new eval() throw TypeError. Actual: ' + (e));
|
throw new Test262Error('#1.2: new eval() throw TypeError. Actual: ' + (e));
|
||||||
|
|
Loading…
Reference in New Issue