doc: correct formatting of example definitions for --test-shard

PR-URL: https://github.com/nodejs/node/pull/58571
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Jacob Smith 2025-06-04 22:27:16 +02:00 committed by Antoine du Hamel
parent 49cb90d4a5
commit 132fc804e8
No known key found for this signature in database
GPG Key ID: 21D900FFDB233756

View File

@ -2534,8 +2534,9 @@ added:
Test suite shard to execute in a format of `<index>/<total>`, where
`index` is a positive integer, index of divided parts
`total` is a positive integer, total of divided part
* `index` is a positive integer, index of divided parts.
* `total` is a positive integer, total of divided part.
This command will divide all tests files into `total` equal parts,
and will run only those that happen to be in an `index` part.