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

fktn-k / fkYAML / 28906424346 / 1
100%
develop: 100%

Build:
DEFAULT BRANCH: develop
Ran 07 Jul 2026 11:45PM UTC
Files 32
Run time 1s
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.1

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 %.

5152 of 5154 relevant lines covered (99.96%)

403.52 hits per line

Source Files on job 28906424346.1
  • 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 Build 28906424346
  • bb458b0e on github
  • Prev Job for on develop (#28809106979.1)
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