From 15ae4bb43f257a63579f280ba19e8c42d5909475 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 14 Jun 2024 01:26:22 +0200 Subject: [PATCH] Fix wrong array literal in Map/Set value tests --- test/built-ins/Map/valid-keys.js | 2 +- test/built-ins/Set/valid-values.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/built-ins/Map/valid-keys.js b/test/built-ins/Map/valid-keys.js index 29908ffa92..9ef2b1139c 100644 --- a/test/built-ins/Map/valid-keys.js +++ b/test/built-ins/Map/valid-keys.js @@ -31,7 +31,7 @@ const bigInt64Array = new BigInt64Array([n1, n53]); const bigUint64Array = new BigUint64Array([n1, n53]); const symbol = Symbol(''); const object = {}; -const array = {}; +const array = []; const string = ''; const booleanTrue = true; const booleanFalse = true; diff --git a/test/built-ins/Set/valid-values.js b/test/built-ins/Set/valid-values.js index 9f93ba0ad5..a006bb1d7c 100644 --- a/test/built-ins/Set/valid-values.js +++ b/test/built-ins/Set/valid-values.js @@ -34,7 +34,7 @@ const bigInt64Array = new BigInt64Array([n1, n53]); const bigUint64Array = new BigUint64Array([n1, n53]); const symbol = Symbol(''); const object = {}; -const array = {}; +const array = []; const string = ''; const booleanTrue = true; const booleanFalse = true;