From 53f5b002592be833f19eb99ed6d5be646122092a Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 29 Apr 2024 10:58:37 -0700 Subject: [PATCH] test: fix arity --- packages/vat-data/test/test-scalar-only-keys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vat-data/test/test-scalar-only-keys.js b/packages/vat-data/test/test-scalar-only-keys.js index e3cebfaf9410..179550ecb29a 100644 --- a/packages/vat-data/test/test-scalar-only-keys.js +++ b/packages/vat-data/test/test-scalar-only-keys.js @@ -16,7 +16,7 @@ test('scalar maps should reject non-scalar keys', t => { test('scalar big maps should reject non-scalar keys', t => { const bigMap = makeScalarBigMapStore('dummy', { keyShape: M.key() }); - t.throws(() => bigMap.init(harden({ label: 'not a scalar' })), { + t.throws(() => bigMap.init(harden({ label: 'not a scalar' }), null), { message: /A "copyRecord" cannot be a scalar key: \{"label":"not a scalar"\}/, });