test: fixing broken test · nodejs/node@cd78c5e · GitHub
Skip to content

Commit cd78c5e

Browse files
MelinaMejia95targos
authored andcommitted
test: fixing broken test
test didn't throw the error, it was just returning it. So I removed the try/catch and assigned the error to a variable PR-URL: #28345 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent d88c697 commit cd78c5e

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

test/parallel/test-readable-from.js

Lines changed: 10 additions & 12 deletions

0 commit comments

Comments
 (0)