-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: fix test-buffer-slow #9809
Conversation
7438e14
to
fbef147
Compare
Fix incorrect use of string instead of RegExp in `throws` assertions.
fbef147
to
58c0078
Compare
Fixed. New CI: https://ci.nodejs.org/job/node-test-pull-request/4996/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Landed in efcbf61 |
Fix incorrect use of string instead of RegExp in `throws` assertions. PR-URL: #9809 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fix incorrect use of string instead of RegExp in `throws` assertions. PR-URL: #9809 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@targos the test cherry-picks to v6.x but with a failing test
v4.x will require a manual backport |
I would suggest not backporting it then, the underlying cause of the different error messages has been fixed in #10152 (which has been labelled If somebody does want to backport this manually to v6.x or v4.x, I think they will want to do something like #9924. /cc @joyeecheung just fyi |
I think it's better not backport this too. |
We can "backport" it by just passing the |
Fix incorrect use of string instead of RegExp in `throws` assertions. PR-URL: nodejs#9809 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fix incorrect use of string instead of RegExp in `throws` assertions. PR-URL: nodejs#9809 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fix incorrect use of string instead of RegExp in `throws` assertions. PR-URL: #9809 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test, buffer
Description of change
Fix incorrect use of string instead of RegExp in
throws
assertions.