Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ede98d1

Browse filesBrowse files
geekMyles Borins
authored andcommitted
doc: stronger suggestion for userland assert
Fixes: #4532 PR-URL: #4535 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent fdfc72c commit ede98d1
Copy full SHA for ede98d1

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/assert.markdown‎

Copy file name to clipboardExpand all lines: doc/api/assert.markdown
+5-4Lines changed: 5 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
Stability: 3 - Locked
44

5-
The `assert` module provides a simple set of assertion tests that can be used
6-
to test invariants and implement unit tests. While the `assert` module is
7-
generally intended for internal use by Node.js itself, it can be used by user
8-
code calling `require('assert')`.
5+
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.
910

1011
The API for the `assert` module is [Locked][]. This means that there will be no
1112
additions or changes to any of the methods implemented and exposed by

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.