• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fktn-k / fkYAML / 28906424346
100%

Build:
DEFAULT BRANCH: develop
Ran 07 Jul 2026 11:45PM UTC
Jobs 1
Files 32
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 11:41PM UTC coverage: 99.939% (-0.03%) from 99.969%
28906424346

push

github

web-flow
Handle empty mapping key separator as parse error (#525)

* Handle empty mapping key separator as parse error (#514)

Replace an assertion-only guard in KEY_SEPARATOR handling with a parse_error
when the parser sees a mapping value separator without an active context.

This prevents malformed input such as `: foo` from aborting on
FK_YAML_ASSERT(!m_context_stack.empty()) and lets callers handle the failure
through the normal exception path.

Add regression coverage for the empty-key separator case and for the issue #514
input to ensure it does not abort during deserialization.

* Handle root empty mapping keys

Parse a root-level mapping value separator as an empty string key instead of
throwing a parse_error.

This supports YAML such as `: foo` as a mapping with `""` as the key, while
leaving empty mapping keys inside block sequences unsupported for now.

Update the key separator regression tests accordingly.

* Clarify empty key sequence parse-error test

1402 of 1404 branches covered (99.86%)

Branch coverage included in aggregate %.

12 of 13 new or added lines in 1 file covered. (92.31%)

5152 of 5154 relevant lines covered (99.96%)

403.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.78
-0.22% include/fkYAML/detail/input/deserializer.hpp
Jobs
ID Job ID Ran Files Coverage
1 28906424346.1 07 Jul 2026 11:45PM UTC 32
99.94
GitHub Action Run
Source Files on build 28906424346
  • Tree
  • List 32
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28906424346
  • bb458b0e on github
  • Prev Build on develop (#28809106979)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc