diff --git a/test/language/expressions/class/subclass-builtins/subclass-WeakRef.js b/test/language/expressions/class/subclass-builtins/subclass-WeakRef.js index 7d841a4b86..fc322d8e42 100644 --- a/test/language/expressions/class/subclass-builtins/subclass-WeakRef.js +++ b/test/language/expressions/class/subclass-builtins/subclass-WeakRef.js @@ -10,6 +10,6 @@ flags: [generated] const Subclass = class extends WeakRef {} -const sub = new Subclass(); +const sub = new Subclass({}); assert(sub instanceof Subclass); assert(sub instanceof WeakRef); diff --git a/test/language/statements/class/subclass-builtins/subclass-WeakRef.js b/test/language/statements/class/subclass-builtins/subclass-WeakRef.js index 8f949f1a96..7a07fe08d0 100644 --- a/test/language/statements/class/subclass-builtins/subclass-WeakRef.js +++ b/test/language/statements/class/subclass-builtins/subclass-WeakRef.js @@ -10,6 +10,6 @@ flags: [generated] class Subclass extends WeakRef {} -const sub = new Subclass(); +const sub = new Subclass({}); assert(sub instanceof Subclass); assert(sub instanceof WeakRef);