Skip to content

Commit 6cadc71

Browse files
TrottMylesBorins
authored andcommitted
doc: remove extraneous paragraph from assert doc
The stability index is explained elsewhere in the documentation. It is not necessary to repeat the information about Locked stability index in the assert documentation. PR-URL: #11174 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent a469ce5 commit 6cadc71

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎doc/api/assert.md‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ used in application code via `require('assert')`. However, `assert` is not a
88
testing framework, and is not intended to be used as a general purpose assertion
99
library.
1010

11-
The API for the `assert` module is [Locked][]. This means that there will be no
12-
additions or changes to any of the methods implemented and exposed by
13-
the module.
14-
1511
## assert(value[, message])
1612
<!-- YAML
1713
added: v0.5.9
@@ -508,7 +504,6 @@ assert.throws(myFunction, 'missing foo', 'did not throw with expected message');
508504
assert.throws(myFunction, /missing foo/, 'did not throw with expected message');
509505
```
510506

511-
[Locked]: documentation.html#documentation_stability_index
512507
[`assert.deepEqual()`]: #assert_assert_deepequal_actual_expected_message
513508
[`assert.deepStrictEqual()`]: #assert_assert_deepstrictequal_actual_expected_message
514509
[`assert.ok()`]: #assert_assert_ok_value_message

0 commit comments

Comments
 (0)