Uh oh!
There was an error while loading. Please reload this page.
test: fix tap parser fails if a test logs a number - #46056
Conversation
nodejs-github-bot
commented
Jan 2, 2023
Review requested:
|
aduh95
commented
Jan 2, 2023
Can you add a test case? |
pulkit-30
commented
Jan 2, 2023
Sure. |
pulkit-30
commented
Jan 6, 2023
Hey @cjihrig@manekinekko, Have a look at these changes, |
manekinekko
left a comment
There was a problem hiding this comment.
The fix LGTM. However, I'd recommend moving the fix to the upper-level logic of the parser since we need to catch all possible invalid syntax encountered by each nested parsing rule.
The most common top-level parsing rule is TAPDocument().
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks @adhu95 for suggestions, Then we don't need to pass planStart and planEnd as an argument to #Plan method...? WDYT? |
aduh95
commented
Jan 10, 2023
I don't think it's a good idea, unless I'm missing something it looks like it makes more sense to keep them as arguments. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
pulkit-30
commented
Feb 5, 2023
There are some failing checks, is there anything wrong with this Pull Request? |
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
Feb 6, 2023
nodejs-github-bot
commented
Feb 6, 2023
Landed in 4c08c20 |
manekinekko
commented
Feb 6, 2023
Congratulations @pulkit-30 🎉 |
pulkit-30
commented
Feb 7, 2023
Thanks a lot @manekinekko for your support and reviews 😇 |
PR-URL: nodejs/node#46056Fixes: nodejs/node#46048 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> (cherry picked from commit 4c08c20e575a0954fe3977a20e9f52b4980a2e48)
PR-URL: nodejs/node#46056Fixes: nodejs/node#46048 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> (cherry picked from commit 4c08c20e575a0954fe3977a20e9f52b4980a2e48)
PR-URL: nodejs#46056Fixes: nodejs#46048 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
fixes: #46048
code: test.mjs
Before changes:
After changes:
I tried to fix this bug, let me know if these changes are acceptable or to be done at some other place.