test: remove common.inspect()
authorRich Trott <rtrott@gmail.com>
Thu, 8 Oct 2015 03:53:38 +0000 (20:53 -0700)
committerJames M Snell <jasnell@gmail.com>
Sat, 10 Oct 2015 17:46:16 +0000 (10:46 -0700)
commitf0f8afd8795ae6e86129ab5ad1b15b9069454db4
tree0c5a53e9d3be354792657afee9e37144c56f5f25
parent5ca4f6f8bd922f90081d585a526df5e9fdee5e26
test: remove common.inspect()

common.inspect() is just util.inspect(). common copies every property
from util but this is the only one that gets used and it only gets used
in three places. Well, four, but the fourth is removed in a pending PR.

This commit removes it. Subsequently, the "copy util to common"
part of `common` can be removed altogether.

PR-URL: https://github.com/nodejs/node/pull/3257
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
test/parallel/test-fs-realpath.js
test/parallel/test-memory-usage.js
test/sequential/test-memory-usage-emfile.js