summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-02-17 15:25:28 -0800
committerJames M Snell <jasnell@gmail.com>2017-02-19 12:33:19 -0800
commitbc44d2c3cdd816f8f85179a7551365f792ea4b59 (patch)
tree2f025360d5668b1203330f8b09938100275b07bc /test
parentb855dadae00b616c7669530a75d4e410f1b7d601 (diff)
downloadnode-new-bc44d2c3cdd816f8f85179a7551365f792ea4b59.tar.gz
util, debugger: remove internalUtil.error
The internalUtil.error() function was only used by _debugger.js. PR-URL: https://github.com/nodejs/node/pull/11448 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-util-internal.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/parallel/test-util-internal.js b/test/parallel/test-util-internal.js
index 9be642a8ff..5131353abb 100644
--- a/test/parallel/test-util-internal.js
+++ b/test/parallel/test-util-internal.js
@@ -4,7 +4,6 @@
const common = require('../common');
const path = require('path');
const assert = require('assert');
-const spawnSync = require('child_process').spawnSync;
const binding = process.binding('util');
const kArrowMessagePrivateSymbolIndex = binding['arrow_message_private_symbol'];
@@ -59,12 +58,3 @@ try {
}
assert(/bad_syntax\.js:1/.test(arrowMessage));
-
-const args = [
- '--expose-internals',
- '-e',
- "require('internal/util').error('foo %d', 5)"
-];
-const result = spawnSync(process.argv[0], args, { encoding: 'utf8' });
-assert.strictEqual(result.stderr.indexOf('%'), -1);
-assert(/foo 5/.test(result.stderr));