Commit 1733ef9
test: make handling of noWarnCode stricter
This change requires all expected warnings to be specified along with
their respective code and will raise an error if the code does not
match. This also kind of fixes the behavior when the expected warning
code was noWarnCode and there is an actual warning code.
PR-URL: #21075
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent ba71fe8 commit 1733ef9Copy full SHA for 1733ef9
File tree
Expand file treeCollapse file tree
3 files changed
+7
-14
lines changedOpen diff view settings
Filter options
- test
- common
- parallel
Expand file treeCollapse file tree
3 files changed
+7
-14
lines changedOpen diff view settings
Collapse file
+2-9Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
589 | 589 | |
590 | 590 | |
591 | 591 | |
592 | | - |
| 592 | + |
593 | 593 | |
594 | 594 | |
595 | 595 | |
| ||
598 | 598 | |
599 | 599 | |
600 | 600 | |
601 | | - |
602 | | - |
603 | | - |
604 | | - |
605 | | - |
606 | | - |
607 | | - |
608 | | - |
| 601 | + |
609 | 602 | |
610 | 603 | |
611 | 604 | |
|
Collapse file
test/parallel/test-promises-unhandled-symbol-rejections.js
Copy file name to clipboardExpand all lines: test/parallel/test-promises-unhandled-symbol-rejections.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | 12 | |
|
Collapse file
+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
142 | 142 | |
143 | 143 | |
144 | 144 | |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
149 | 149 | |
150 | 150 | |
151 | 151 | |
|
0 commit comments