Skip to content

Commit

Permalink
test: fix arity
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 30, 2024
1 parent 06c0a25 commit 20b9c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vat-data/test/test-scalar-only-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"\}/,
});
Expand Down

0 comments on commit 20b9c5e

Please sign in to comment.