Commit 2a53165
committed
test: add missing assertion
This commit adds an assertion to an existing try...catch
statement. Unfortunately, assert.throws() cannot be used
because the operation succeeds on some platforms, throws
EINVAL on some platforms, and throws ENOPROTOOPT on
others.
PR-URL: #15519
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent db8c92f commit 2a53165Copy full SHA for 2a53165
File tree
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Collapse file
test/parallel/test-dgram-multicast-set-interface.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-multicast-set-interface.js+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
36 | 40 | |
37 | 41 | |
38 | | - |
39 | 42 | |
40 | | - |
| 43 | + |
41 | 44 | |
42 | 45 | |
43 | 46 | |
|
0 commit comments