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

Test to cover "Value after document-start" (on first line) #71

Open
am11 opened this issue Apr 27, 2020 · 0 comments
Open

Test to cover "Value after document-start" (on first line) #71

am11 opened this issue Apr 27, 2020 · 0 comments

Comments

@am11
Copy link
Contributor

am11 commented Apr 27, 2020

Consider the following valid cases:

--- blah
--- hello=world
--- +190:20:30
--- x:y

vs. invalid case of mapping after the DocumentStart:

--- x: y

Currently, spec test 27NA and 6LVF etc. cover the cases when document-start followed by value token is on lines, other than the first one.

In the spirit of tightening the net, it would probably be a good idea to add tests clarifying what is allowed after document start marker, and if document-start on first line matters.

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

No branches or pull requests

2 participants
@am11 and others