diff --git a/src/class-elements/class-evaluation-error/cls-decl.template b/src/class-elements/class-evaluation-error/cls-decl.template index 393a9b9246..f29a6c2ae2 100644 --- a/src/class-elements/class-evaluation-error/cls-decl.template +++ b/src/class-elements/class-evaluation-error/cls-decl.template @@ -9,7 +9,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation ---*/ function evaluate() { - class C /*{ heritage }*/ { + class C { /*{ elements }*/ } } diff --git a/src/class-elements/class-evaluation-error/cls-expr.template b/src/class-elements/class-evaluation-error/cls-expr.template index f4058e59c5..083ce095ce 100644 --- a/src/class-elements/class-evaluation-error/cls-expr.template +++ b/src/class-elements/class-evaluation-error/cls-expr.template @@ -9,7 +9,7 @@ esid: sec-runtime-semantics-classdefinitionevaluation ---*/ function evaluate() { - var C = class /*{ heritage }*/ { + var C = class { /*{ elements }*/ }; }