diff --git a/test/language/generators/generator.declareMethod.argSuperCall.js b/test/language/generators/generator.declareMethod.argSuperCall.js index 199cf9b79dac459d2b5512eaa68c714c379dd689..38364cf0a4c6adb228086e6a0e8789e376220d52 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 8d95934936cc6e10f4edd2f7eb38dd4d7df2cb4d..a1186dc43b31fbfff7775e457aa87788d9793ca4 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(); } };