diff --git a/test/parallel/test-debugger-pid.js b/test/parallel/test-debugger-pid.js index 1da34811076b95..2b81da700f50a0 100644 --- a/test/parallel/test-debugger-pid.js +++ b/test/parallel/test-debugger-pid.js @@ -43,7 +43,7 @@ interfacer.on('line', function(line) { } } else { line = line.replace(/^(debug> *)+/, ''); - expected = `(node:${pid}) Target process: 655555 doesn\'t exist.`; + expected = `(node:${pid}) Target process: 655555 doesn't exist.`; } assert.strictEqual(expected, line); diff --git a/test/parallel/test-tick-processor-cpp-core.js b/test/parallel/test-tick-processor-cpp-core.js index 2bc595e7ff732a..72eb25e91c394a 100644 --- a/test/parallel/test-tick-processor-cpp-core.js +++ b/test/parallel/test-tick-processor-cpp-core.js @@ -20,7 +20,7 @@ const base = require('./tick-processor-base.js'); base.runTest({ pattern: /RunInDebugContext/, code: `function f() { - require(\'vm\').runInDebugContext(\'Debug\'); + require('vm').runInDebugContext('Debug'); setImmediate(function() { f(); }); }; f();` diff --git a/test/parallel/test-vm-cached-data.js b/test/parallel/test-vm-cached-data.js index d80c1306cb971e..aa2dd26ad5a8b7 100644 --- a/test/parallel/test-vm-cached-data.js +++ b/test/parallel/test-vm-cached-data.js @@ -6,7 +6,7 @@ const spawnSync = require('child_process').spawnSync; const Buffer = require('buffer').Buffer; function getSource(tag) { - return `(function ${tag}() { return \'${tag}\'; })`; + return `(function ${tag}() { return '${tag}'; })`; } function produce(source, count) { diff --git a/test/sequential/test-child-process-execsync.js b/test/sequential/test-child-process-execsync.js index e16fa32a400ffb..01d7f868845ae0 100644 --- a/test/sequential/test-child-process-execsync.js +++ b/test/sequential/test-child-process-execsync.js @@ -48,7 +48,7 @@ var msgBuf = Buffer.from(msg + '\n'); // console.log ends every line with just '\n', even on Windows. -cmd = `"${process.execPath}" -e "console.log(\'${msg}\');"`; +cmd = `"${process.execPath}" -e "console.log('${msg}');"`; ret = execSync(cmd);