summaryrefslogtreecommitdiff
path: root/tests/node_compat/test/parallel/test-http-agent-getname.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_compat/test/parallel/test-http-agent-getname.js')
-rw-r--r--tests/node_compat/test/parallel/test-http-agent-getname.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/node_compat/test/parallel/test-http-agent-getname.js b/tests/node_compat/test/parallel/test-http-agent-getname.js
index 43dc09f2c..530cc1378 100644
--- a/tests/node_compat/test/parallel/test-http-agent-getname.js
+++ b/tests/node_compat/test/parallel/test-http-agent-getname.js
@@ -10,7 +10,6 @@
require('../common');
const assert = require('assert');
const http = require('http');
-const path = require('path');
const tmpdir = require('../common/tmpdir');
@@ -48,7 +47,7 @@ assert.strictEqual(
);
// unix socket
-const socketPath = path.join(tmpdir.path, 'foo', 'bar');
+const socketPath = tmpdir.resolve('foo', 'bar');
assert.strictEqual(
agent.getName({
socketPath