assert: fix error diff
In some edge cases an identical line could be printed twice. This is now fixed by changing the algorithm a bit. It will now verify how many lines were identical before the current one. PR-URL: https://github.com/nodejs/node/pull/28058 Reviewed-By:Rich Trott <rtrott@gmail.com>
parent
a3ea54f5
Please register or sign in to comment