Skip to content

Commit 42e73ae

Browse files
Trottitaloacasas
authored andcommitted
doc: remove assertions about assert
The assert docs have some language that suggests that we don't want bug fixes. We do. Send in bug fixes, please. (Just no new API features.) We'd love to not have assert in core at all, but that ship has sailed. It's here to stay. Let's at least make it not have surprising behaviors. Because we want good things for our users. PR-URL: #11113 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
1 parent 3b488ec commit 42e73ae

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/api/assert.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
> Stability: 3 - Locked
44
55
The `assert` module provides a simple set of assertion tests that can be used to
6-
test invariants. The module is intended for internal use by Node.js, but can be
7-
used in application code via `require('assert')`. However, `assert` is not a
8-
testing framework, and is not intended to be used as a general purpose assertion
9-
library.
6+
test invariants.
107

118
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.
9+
additions or changes to any of the methods implemented and exposed by the
10+
module.
1411

1512
## assert(value[, message])
1613
<!-- YAML

0 commit comments

Comments
 (0)