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 NTY5 (Missing space in YAML directive) should not be an error #38
Projects
Comments
For the record the NTY5 test was added as consequence of #34 But I think I agree that a non-greedy application of rule 82 means that a mistyped YAML (or TAG) directive ought to fallback to the |
eemeli
added a commit
to eemeli/yaml-test-suite
that referenced
this issue
Jul 1, 2018
Yeah, I was thinking about that too. I think we should remove that test... |
Removed the test, created new release 2020-02-11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test was introduced a few weeks ago in 30f372c. The relevant directives are defined with:
Therefore, a directive line
%YAML1.2
should get parsed asns-reserved-directive
, regarding which the following instruction applies: "A YAML processor should ignore unknown directives with an appropriate warning."Effectively, as "appropriate warning" is rather implementation-specific, it might be best to just remove this test completely. Or to just leave out the error, as parsers are expected to deal with this situation without an error.
The text was updated successfully, but these errors were encountered: