Skip to content
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

Should support comment blocks at any indentation level #8

Open
abrenneke opened this issue Feb 15, 2017 · 0 comments
Open

Should support comment blocks at any indentation level #8

abrenneke opened this issue Feb 15, 2017 · 0 comments

Comments

@abrenneke
Copy link

Basically per the TAP 13 Specification, comment blocks can be intended with any number of white space:

If the test line is immediately followed by an indented block beginning with /^\s+—/ and ending with ^\s+…/ that block will be interpreted as an inline YAML document.

eslint-tap indents with more than 2 spaces and isn't parsed correctly (yaml blocks are missing).

ok 5 test/testBase.js
not ok 6
    ---
    message:  Missing semicolon.
    severity: error
    file:     /home/etc...
    line:     6
    name:     semi
    ...

ok 7 src/routes/api/auth.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant