summaryrefslogtreecommitdiff
path: root/test/parallel/test-stdout-close-catch.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-stdout-close-catch.js')
-rw-r--r--test/parallel/test-stdout-close-catch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-stdout-close-catch.js b/test/parallel/test-stdout-close-catch.js
index 5f1f52fe51..e9b559c9f2 100644
--- a/test/parallel/test-stdout-close-catch.js
+++ b/test/parallel/test-stdout-close-catch.js
@@ -1,10 +1,10 @@
'use strict';
const common = require('../common');
const assert = require('assert');
-const path = require('path');
const child_process = require('child_process');
+const fixtures = require('../common/fixtures');
-const testScript = path.join(common.fixturesDir, 'catch-stdout-error.js');
+const testScript = fixtures.path('catch-stdout-error.js');
const cmd = `${JSON.stringify(process.execPath)} ` +
`${JSON.stringify(testScript)} | ` +