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
{{ message }}
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
I expected this to parse as version comment assert comment assert plan complete.
This happens with any number of comment-test pairs, but only if comments and tests are interleaved as single copies. This also happens when using this module via require.
Keep a queue of comments that occur when we're waiting on potential
diags for a previous assert.
Then emit those comment events all at once when we are sure that either
the test point line is finished (without diags) or that the diags are
done.
Fix#18Fix#19Fix#20
Testcase:
cat test.tap
:./bin/cmd.js < test.tap | grep -v line
(grep removesline
events):I expected this to parse as
version comment assert comment assert plan complete
.This happens with any number of comment-test pairs, but only if comments and tests are interleaved as single copies. This also happens when using this module via
require
.The
line
events happen in the correct order../bin/cmd.js < test.tap | grep line
:The text was updated successfully, but these errors were encountered: