Commit 3666662
test: replaces assert.throws() with common.expectsError()
replaces assert.throws() with common.expectsError() to check error code
and error type in parallel/test-buffer-alloc.js
PR-URL: #22689
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent a7e8949 commit 3666662Copy full SHA for 3666662
File tree
Expand file treeCollapse file tree
1 file changed
+28
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+28
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-buffer-alloc.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-alloc.js+28-4Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
79 | 85 | |
80 | 86 | |
81 | | - |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
82 | 94 | |
83 | 95 | |
84 | | - |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
85 | 103 | |
86 | 104 | |
87 | | - |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
88 | 112 | |
89 | 113 | |
90 | 114 | |
|
0 commit comments