Skip to content

Commit

Permalink
chore: fix the error message so it matches Agoric/agoric-sdk#2561
Browse files Browse the repository at this point in the history
  • Loading branch information
katelynsills committed Mar 3, 2021
1 parent be0c7bb commit 5371b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/ertp/guide/test-amount-math.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ test('ertp guide amountMath methods subtract', async t => {
const subtractedList = myItemsAmountMath.subtract(listAmountA, listAmountC);
// Throws error
t.throws(() => myItemsAmountMath.subtract(listAmountA, listAmountB), {
message: /some of the elements in right \(\(an object\)\) were not present in left \(\(an object\)\)/,
message: `right element (a string) was not in left`,
});
// #endregion subtract
t.deepEqual(subtractedList, myItemsAmountMath.make(harden(['1', '4'])));
Expand Down

0 comments on commit 5371b4c

Please sign in to comment.