Skip to content

Commit f8be152

Browse files
authored
Fix function reference in t.try() assertion documentation
1 parent c5d2b53 commit f8be152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/03-assertions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ const twoRandomIntegers = () => {
288288
test('flaky macro', async t => {
289289
const firstTry = await t.try((tt, a, b) => {
290290
tt.is(a, b);
291-
}, ...randomIntegers());
291+
}, ...twoRandomIntegers());
292292

293293
if (firstTry.passed) {
294294
firstTry.commit();
@@ -300,7 +300,7 @@ test('flaky macro', async t => {
300300

301301
const secondTry = await t.try((tt, a, b) => {
302302
tt.is(a, b);
303-
}, ...randomIntegers());
303+
}, ...twoRandomIntegers());
304304
secondTry.commit();
305305
});
306306
```

0 commit comments

Comments
 (0)