Skip to content

Commit aae768c

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 c532c16 commit aae768c

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
@@ -500,7 +496,6 @@ assert.throws(myFunction, 'missing foo', 'did not throw with expected message');
500496
assert.throws(myFunction, /missing foo/, 'did not throw with expected message');
501497
```
502498

503-
[Locked]: documentation.html#documentation_stability_index
504499
[`assert.deepEqual()`]: #assert_assert_deepequal_actual_expected_message
505500
[`assert.deepStrictEqual()`]: #assert_assert_deepstrictequal_actual_expected_message
506501
[`assert.ok()`]: #assert_assert_ok_value_message

0 commit comments

Comments
 (0)