mirror of https://github.com/nodejs/node.git
11 lines
308 B
JavaScript
11 lines
308 B
JavaScript
'use strict';
|
|
const common = require('../../common');
|
|
var assert = require('assert');
|
|
const binding = require(`./build/${common.buildType}/binding`);
|
|
|
|
binding(5, common.mustCall(function(err, val) {
|
|
assert.equal(null, err);
|
|
assert.equal(10, val);
|
|
process.nextTick(common.mustCall(function() {}));
|
|
}));
|