Commit 840a2ea
test: fix warnings in addon tests
The legacy MakeCallback deprecation was resulting in compile time
warnings in adddon tests. Fix them.
Ref: #18632
PR-URL: #18810
Refs: #18632
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent eb9d0ba commit 840a2eaCopy full SHA for 840a2ea
File tree
Expand file treeCollapse file tree
5 files changed
+17
-10
lines changedOpen diff view settings
Filter options
- test/addons
- async-hello-world
- callback-scope
- make-callback-recurse
- make-callback
- repl-domain-abort
Expand file treeCollapse file tree
5 files changed
+17
-10
lines changedOpen diff view settings
Collapse file
test/addons/async-hello-world/binding.cc
Copy file name to clipboardExpand all lines: test/addons/async-hello-world/binding.cc+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
18 | 19 | |
19 | 20 | |
20 | 21 | |
| ||
47 | 48 | |
48 | 49 | |
49 | 50 | |
50 | | - |
| 51 | + |
| 52 | + |
51 | 53 | |
52 | 54 | |
53 | 55 | |
54 | 56 | |
55 | 57 | |
56 | 58 | |
57 | 59 | |
| 60 | + |
58 | 61 | |
59 | 62 | |
60 | 63 | |
| ||
73 | 76 | |
74 | 77 | |
75 | 78 | |
| 79 | + |
76 | 80 | |
77 | 81 | |
78 | 82 | |
|
Collapse file
test/addons/callback-scope/binding.cc
Copy file name to clipboardExpand all lines: test/addons/callback-scope/binding.cc+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
|
Collapse file
test/addons/make-callback-recurse/binding.cc
Copy file name to clipboardExpand all lines: test/addons/make-callback-recurse/binding.cc+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
| 23 | + |
23 | 24 | |
24 | 25 | |
25 | 26 | |
|
Collapse file
test/addons/make-callback/binding.cc
Copy file name to clipboardExpand all lines: test/addons/make-callback/binding.cc+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
| 23 | + |
23 | 24 | |
24 | 25 | |
25 | 26 | |
26 | | - |
| 27 | + |
| 28 | + |
27 | 29 | |
28 | 30 | |
29 | 31 | |
|
Collapse file
test/addons/repl-domain-abort/binding.cc
Copy file name to clipboardExpand all lines: test/addons/repl-domain-abort/binding.cc+4-5Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
44 | 43 | |
45 | 44 | |
46 | 45 | |
|
0 commit comments