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

xu-chris / toon_ex / 4e503df055943ffdc96139af5d8121ddeb6fcda3-PR-9
55%
main: 68%

Build:
Build:
LAST BUILD BRANCH: fix/type-specs-for-encoder-protocol
DEFAULT BRANCH: main
Ran 20 Jan 2026 04:18PM UTC
Jobs 1
Files 19
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

20 Jan 2026 04:17PM UTC coverage: 54.957% (+9.7%) from 45.277%
4e503df055943ffdc96139af5d8121ddeb6fcda3-PR-9

Pull #9

github

Chris Xu
fix(decoder): handle nested list-format arrays correctly (#7)

The decoder was incorrectly parsing nested list-format arrays like
`[[[1]]]` because it couldn't distinguish between inline arrays
(`[N]: val1,val2`) and list-format array headers (`[N]:` with nested
content below).

Changes:
- Updated regex patterns to require content after `: ` for inline arrays
- Added new case for list-format array headers ending with `:$`
- Added `parse_nested_list_array` function using existing helpers
- Consolidated edge_cases_test.exs into roundtrip_test.exs
- Renamed test file to roundtrip_test.exs (more idiomatic name)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #9: fix(decoder): handle nested list-format arrays correctly

9 of 9 new or added lines in 1 file covered. (100.0%)

2 existing lines in 2 files now uncovered.

510 of 928 relevant lines covered (54.96%)

16.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
55.1
10.16% lib/toon/decode/structural_parser.ex
1
78.76
23.01% lib/toon/encode/encode.ex
Jobs
ID Job ID Ran Files Coverage
1 4e503df055943ffdc96139af5d8121ddeb6fcda3-PR-9.1 20 Jan 2026 04:18PM UTC 19
54.96
GitHub Action Run
Source Files on build 4e503df055943ffdc96139af5d8121ddeb6fcda3-PR-9
  • Tree
  • List 19
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9
  • PR Base - main (#2B052B8A...)
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