@@ -8,7 +8,7 @@ module.exports = require('./common').runTestWithBindingPath(test);
8
8
9
9
// Make sure the instance data finalizer is called at process exit. If the hint
10
10
// is non-zero, it will be printed out by the child process.
11
- function testFinalizer ( bindingName , hint , expected ) {
11
+ function testFinalizer ( bindingName , hint , expected ) {
12
12
return new Promise ( ( resolve ) => {
13
13
bindingName = bindingName . split ( '\\' ) . join ( '\\\\' ) ;
14
14
const child = spawn ( process . execPath , [
@@ -30,7 +30,7 @@ function testFinalizer(bindingName, hint, expected) {
30
30
} ) ;
31
31
}
32
32
33
- async function test ( bindingName ) {
33
+ async function test ( bindingName ) {
34
34
const binding = require ( bindingName ) . addon_data ( 0 ) ;
35
35
36
36
// Make sure it is possible to get/set instance data.
@@ -42,5 +42,5 @@ async function test(bindingName) {
42
42
43
43
await testFinalizer ( bindingName , 0 , [ 'addon_data: Addon::~Addon' ] ) ;
44
44
await testFinalizer ( bindingName , 42 ,
45
- [ 'addon_data: Addon::~Addon' , 'hint: 42' ] ) ;
45
+ [ 'addon_data: Addon::~Addon' , 'hint: 42' ] ) ;
46
46
}
0 commit comments