Commit 645a97a
test: verify arguments length in common.expectsError
If `common.expectsError` is used as a callback, it will now also
verify that there is only one argument (the expected error).
PR-URL: #20311
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent 7d9f1f3 commit 645a97aCopy full SHA for 645a97a
File tree
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Filter options
- test/common
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
| 711 | + |
| 712 | + |
| 713 | + |
| 714 | + |
| 715 | + |
711 | 716 | |
712 | 717 | |
713 | 718 | |
|
0 commit comments