Skip to content

Commit 4d29797

Browse files
deokjinkimbmeck
authored andcommitted
doc: fix wrong function name in example of context.plan()
t.subtest -> t.test Refs: nodejs#52860 PR-URL: nodejs#53140 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent c9774aa commit 4d29797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ expected count, the test will fail.
30813081
test('top level test', (t) => {
30823082
t.plan(2);
30833083
t.assert.ok('some relevant assertion here');
3084-
t.subtest('subtest', () => {});
3084+
t.test('subtest', () => {});
30853085
});
30863086
```
30873087

0 commit comments

Comments
 (0)