assert: show the diff when deep comparing data with a custom message · nodejs/node@e361951 · GitHub
Skip to content

Commit e361951

Browse files
puskintargos
authored andcommitted
assert: show the diff when deep comparing data with a custom message
Fixes: #48465 PR-URL: #54759 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent bb34990 commit e361951

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

lib/internal/assert/assertion_error.js

Lines changed: 12 additions & 5 deletions

test/parallel/test-assert.js

Lines changed: 13 additions & 2 deletions

0 commit comments

Comments
 (0)