Skip to content

Commit 7147c1d

Browse files
deokjinkimtargos
authored andcommitted
doc: fix wrong function name in example of context.plan()
t.subtest -> t.test Refs: #52860 PR-URL: #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 e079967 commit 7147c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3073,7 +3073,7 @@ expected count, the test will fail.
30733073
test('top level test', (t) => {
30743074
t.plan(2);
30753075
t.assert.ok('some relevant assertion here');
3076-
t.subtest('subtest', () => {});
3076+
t.test('subtest', () => {});
30773077
});
30783078
```
30793079

0 commit comments

Comments
 (0)