Skip to content

Commit f2843e8

Browse files
committed
fixup! address comment
1 parent ed7efbc commit f2843e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-util-inspect-proxy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ assert.strictEqual(util.inspect(proxy11), expected11);
182182

183183
{
184184
// Nested proxies should not trigger any proxy handlers.
185-
const errorProxy = new Proxy({}, { get(...cause) { throw new EvalError('boom', { cause }); } });
186-
const nestedProxy = new Proxy(errorProxy, {});
185+
const nestedProxy = new Proxy(new Proxy(proxyObj, {}), {});
187186

188187
util.inspect(nestedProxy, { showProxy: true });
189188
util.inspect(nestedProxy, { showProxy: false });

0 commit comments

Comments
 (0)