Commit 3bebcf0
test: fix failing assertion
One test did not cause an assertion. By changing the test to use
`assert.throws()` all tests have to throw, otherwise the test will
fail.
PR-URL: #25250
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent e09dd0c commit 3bebcf0Copy full SHA for 3bebcf0
File tree
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Collapse file
test/parallel/test-assert.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert.js+9-11Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
257 | 257 | |
258 | 258 | |
259 | 259 | |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
270 | 268 | |
271 | 269 | |
272 | 270 | |
| ||
280 | 278 | |
281 | 279 | |
282 | 280 | |
283 | | - |
| 281 | + |
284 | 282 | |
285 | 283 | |
286 | 284 | |
|
0 commit comments