summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-12-28 02:28:49 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-01-11 07:32:14 +0100
commit76fa37af75eb133742d62dad9d15810645d43a0c (patch)
tree45eb0f58bfedc4f168263d760558e0a738d874fa /test
parenteca2760ab167a253bf57e43b1f3531404aaceef9 (diff)
downloadandroid-node-v8-76fa37af75eb133742d62dad9d15810645d43a0c.tar.gz
android-node-v8-76fa37af75eb133742d62dad9d15810645d43a0c.tar.bz2
android-node-v8-76fa37af75eb133742d62dad9d15810645d43a0c.zip
util: code cleanup
Remove some dead code plus some minor refactoring for readability. The constructor can not be an empty string anymore, so just remove that check. PR-URL: https://github.com/nodejs/node/pull/25255 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-util-inspect.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-util-inspect.js b/test/parallel/test-util-inspect.js
index bd24efeecc..c9ca8f5787 100644
--- a/test/parallel/test-util-inspect.js
+++ b/test/parallel/test-util-inspect.js
@@ -1853,7 +1853,6 @@ assert.strictEqual(
util.inspect(new StorageObject()),
'<[Object: null prototype] {}> {}'
);
-
}
// Check that the fallback always works.