Skip to content

Commit

Permalink
fixup! swap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Feb 7, 2024
1 parent db219d8 commit 350c1ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/exo/test/test-legacy-guard-tolerance.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ test('legacy guard tolerance', async t => {
mg2: meth,
});
t.deepEqual(await f1.mg1(77, 88), [77, 88]);
await t.throwsAsync(async () => f1.mg2(77, 88), {
message:
'In "mg2" method of (foo): arg 1: 88 - Must be: {"argGuard":88,"klass":"awaitArg"}',
});
await t.throwsAsync(async () => f1.mg1(77, laag), {
message:
'In "mg1" method of (foo): arg 1: {"argGuard":88,"klass":"awaitArg"} - Must be: 88',
});
await t.throwsAsync(async () => f1.mg2(77, 88), {
message:
'In "mg2" method of (foo): arg 1: 88 - Must be: {"argGuard":88,"klass":"awaitArg"}',
});
t.deepEqual(await f1.mg2(77, laag), [77, laag]);

t.throws(
Expand Down

0 comments on commit 350c1ca

Please sign in to comment.