assert: fix wrong message indentation
If code is read from a file and that code is indented, it would be misaligned. This makes sure it has a natural indentation that is relative to the starting point of the assertion. PR-URL: https://github.com/nodejs/node/pull/20791 Reviewed-By:James M Snell <jasnell@gmail.com> Reviewed-By:
Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By:
Khaidi Chu <i@2333.moe> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
parent
352ae239
Please register or sign in to comment