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
marjakh opened this issue
Jul 4, 2022
· 4 comments
Labels
errorsIssues and PRs related to JavaScript errors originated in Node.js core.testIssues and PRs related to the tests.v8 engineIssues and PRs related to the V8 dependency.
I'm enhancing the "Unexpected identifier" error message here https://chromium-review.googlesource.com/c/v8/v8/+/3726147 ; these tests would need to be updated once that change rolls into Node, or already in preparation for the change (by relaxing the assertion so that it passes both before and after the change).
Unfortunately, tests which assert the exact error message make improving the error messages more cumbersome than it has to be. :/ I don't have a good solution there; in this particular case it would've helped if the test asserted that there's "Unexpected identifier" somewhere in the error message (but allows more content than that).
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
.
Additional information
No response
The text was updated successfully, but these errors were encountered:
targos
added
errors
Issues and PRs related to JavaScript errors originated in Node.js core.
test
Issues and PRs related to the tests.
v8 engine
Issues and PRs related to the V8 dependency.
labels
Jul 4, 2022
errorsIssues and PRs related to JavaScript errors originated in Node.js core.testIssues and PRs related to the tests.v8 engineIssues and PRs related to the V8 dependency.
Version
No response
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
I'm enhancing the "Unexpected identifier" error message here https://chromium-review.googlesource.com/c/v8/v8/+/3726147 ; these tests would need to be updated once that change rolls into Node, or already in preparation for the change (by relaxing the assertion so that it passes both before and after the change).
Unfortunately, tests which assert the exact error message make improving the error messages more cumbersome than it has to be. :/ I don't have a good solution there; in this particular case it would've helped if the test asserted that there's "Unexpected identifier" somewhere in the error message (but allows more content than that).
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
.
Additional information
No response
The text was updated successfully, but these errors were encountered: