You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file test/parallel/test-stream2-basic.js, in line 215 and 218, the third argument is a string literal ("first" on line 215 and "second" on line 218). Which means if there is an AssertionError, the cause error that is difference between expected and received will not be displayed, but only first or second will be printed on terminal which is quite odd.
Moreover, it is quite strange to specify "first" or "second" as assertion failure message as it will be clear from stack trace which assertion has failed.
So there is no need for the third argument in both of those two lines.
The text was updated successfully, but these errors were encountered:
In file test/parallel/test-stream2-basic.js, in line 215 and 218, the third argument is a string literal ("first" on line 215 and "second" on line 218). Which means if there is an AssertionError, the cause error that is difference between expected and received will not be displayed, but only first or second will be printed on terminal which is quite odd.
Moreover, it is quite strange to specify "first" or "second" as assertion failure message as it will be clear from stack trace which assertion has failed.
So there is no need for the third argument in both of those two lines.
The text was updated successfully, but these errors were encountered: