fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

Fixed parse error on root block sequence with child block sequences #330

Closed fktn-k closed 5 months ago

fktn-k commented 5 months ago

This PR has fixed parse errors which the current parser emits on root block sequence containing child block sequences, like the following valid YAML snippet (slightly modified version of the official YAML test suite 3ALJ):

- - foo
  - 123
- 3.14

The test case with the above snippet has also been added to the test suite to validate the change.


Pull Request Checklist

Read the CONTRIBUTING.md file for detailed information.

Please don't

github-actions[bot] commented 5 months ago

:octocat: Upload Coverage Event Notification

Coverage data has been uploaded for the commit 92455f9fbdca0a7ab7c6fb9050b46724249fe713. You can download the artifact which contains the same file uploaded to the Coveralls and its HTML version.

Name fkYAML_coverage.pr330.zip
ID 1457377336
URL https://github.com/fktn-k/fkYAML/actions/runs/8881915971/artifacts/1457377336
coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8881915971

Details


Totals Coverage Status
Change from base Build 8874093884: 0.0%
Covered Lines: 3547
Relevant Lines: 3547

💛 - Coveralls