diff --git a/test/language/generators/generator.declareMethod.argSuperCall.js b/test/language/generators/generator.declareMethod.argSuperCall.js index 199cf9b79d..38364cf0a4 100644 --- a/test/language/generators/generator.declareMethod.argSuperCall.js +++ b/test/language/generators/generator.declareMethod.argSuperCall.js @@ -12,6 +12,6 @@ negative: SyntaxError ---*/ var obj = { - *foo(a = super) { + *foo(a = super()) { } }; diff --git a/test/language/generators/generator.declareMethod.bodySuperCall.js b/test/language/generators/generator.declareMethod.bodySuperCall.js index 8d95934936..a1186dc43b 100644 --- a/test/language/generators/generator.declareMethod.bodySuperCall.js +++ b/test/language/generators/generator.declareMethod.bodySuperCall.js @@ -13,6 +13,6 @@ negative: SyntaxError var obj = { *foo(a) { - super; + super(); } };