summaryrefslogtreecommitdiff
path: root/test/addons/async-hello-world/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/addons/async-hello-world/test.js')
-rw-r--r--test/addons/async-hello-world/test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/async-hello-world/test.js b/test/addons/async-hello-world/test.js
index 2ed003e444..bbc81bfbf8 100644
--- a/test/addons/async-hello-world/test.js
+++ b/test/addons/async-hello-world/test.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../../common');
var assert = require('assert');
-var binding = require('./build/Release/binding');
+const binding = require(`./build/${common.buildType}/binding`);
binding(5, common.mustCall(function(err, val) {
assert.equal(null, err);