diff --git a/doc/api/test.md b/doc/api/test.md index cdb6ed8c01b535..8c2b625eca1a57 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -3140,9 +3140,9 @@ behaves in the same fashion as the top level [`test()`][] function. test('top level test', async (t) => { await t.test( 'This is a subtest', - { only: false, skip: false, concurrency: 1, todo: false, plan: 4 }, + { only: false, skip: false, concurrency: 1, todo: false, plan: 1 }, (t) => { - assert.ok('some relevant assertion here'); + t.assert.ok('some relevant assertion here'); }, ); });