Commit 1a0fd602 authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Rich Trott
Browse files

assert: add partial support for evaluated code in simple assert

This makes sure using `assert.ok()` in `new Function()` statements
visualizes the actual call site in the error message.

PR-URL: https://github.com/nodejs/node/pull/27781


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 4a3af65a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment