From dc74a0b0eee8e583ba411cd49a0dec5bd259a367 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Wed, 30 Sep 2020 10:00:32 -0400 Subject: [PATCH] Generate tests --- .../expressions/class/subclass-builtins/subclass-WeakRef.js | 2 +- .../statements/class/subclass-builtins/subclass-WeakRef.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);