summaryrefslogtreecommitdiff
path: root/test/parallel/test-regress-GH-1899.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-regress-GH-1899.js')
-rw-r--r--test/parallel/test-regress-GH-1899.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-regress-GH-1899.js b/test/parallel/test-regress-GH-1899.js
index 7ce83e0009..838391acd2 100644
--- a/test/parallel/test-regress-GH-1899.js
+++ b/test/parallel/test-regress-GH-1899.js
@@ -1,13 +1,13 @@
'use strict';
const common = require('../common');
-var path = require('path');
-var assert = require('assert');
-var spawn = require('child_process').spawn;
+const path = require('path');
+const assert = require('assert');
+const spawn = require('child_process').spawn;
-var child = spawn(process.argv[0], [
+const child = spawn(process.argv[0], [
path.join(common.fixturesDir, 'GH-1899-output.js')
]);
-var output = '';
+let output = '';
child.stdout.on('data', function(data) {
output += data;