test: adapt assert tests to stack trace changes · nodejs/node@9e0d9b6 · GitHub
Skip to content

Commit 9e0d9b6

Browse files
targosRafaelGSS
authored andcommitted
test: adapt assert tests to stack trace changes
PR-URL: #58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent f7406aa commit 9e0d9b6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/message/assert_throws_stack.out

Lines changed: 1 addition & 1 deletion

test/message/internal_assert_fail.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Error [ERR_INTERNAL_ASSERTION]: Unreachable!
66
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
77
Please open an issue with this stack trace at https://github.com/nodejs/node/issues
88

9-
at Function.fail (node:internal/assert:*:*)
9+
at assert.fail (node:internal/assert:*:*)
1010
at * (*test*message*internal_assert_fail.js:7:8)
1111
at *
1212
at *

test/parallel/test-fs-promises.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)