util: ensure that the .inspect function isn't the one being executed
authorNathan Rajlich <nathan@tootallnate.net>
Wed, 30 Nov 2011 02:21:10 +0000 (18:21 -0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 30 Nov 2011 13:14:24 +0000 (14:14 +0100)
commitb204006105e556be07121abd52e5cf0da3d3d8ae
treec2de9cfcb66ef4f8e3a5cd190f5c6cb80e2eeaf3
parent754e23db27b1d357cc257419384602dd6cc7e299
util: ensure that the .inspect function isn't the one being executed

Fixes #2225.
lib/util.js
test/simple/test-util-inspect.js