Commit b607366
doc: add information about Assert behavior and maintenance
Assert is now locked. Userland alternatives should be used. Assert is
for testing Node.js itself.
Document potentially surprising use of enumerable properties only in
deep equality assertions.
Ref: #3124
Ref: #3122
PR-URL: #3330
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Rod Vagg <rod@vagg.org>1 parent 086103b commit b607366Copy full SHA for b607366
File tree
Expand file treeCollapse file tree
1 file changed
+15
-5
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+15
-5
lines changedOpen diff view settings
Collapse file
+15-5Lines changed: 15 additions & 5 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | | - |
6 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
| ||
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | | - |
30 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
31 | 41 | |
32 | 42 | |
33 | 43 | |
|
0 commit comments