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

romshark / icumsg / 37691879862
98%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2026 09:48PM UTC
Jobs 1
Files 6
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 Oct 2026 09:46PM UTC coverage: 89.553% (-0.006%) from 89.559%
37691879862

push

github

romshark
fix: Make Analyze traverse unconfigured selects

Analyze skipped all branches of a select when selectOptions returned
no options for it, which is what the examples do for arguments without
a policy. Choices nested in such a select were never counted or checked:

    {g, select, male{{n, plural, other{x}}} other{x}}
    selectOptions: nil, Optional, Ignore

    Before:
      Analyze: totalChoices=1, nothing incomplete
      Errors:  none

    After:
      Analyze: totalChoices=2, {n, plural, other{x}} incomplete
      Errors:  missing cardinal plural options [one]

The same check treated an empty non-nil slice like nil, so a caller
couldn't allow only "other". Now nil applies no policies, while an
empty non-nil slice expects no options besides "other":

    {g, select, male{x} other{y}}
    selectOptions: []string{}, Required, Reject

    Before:
      Analyze: nothing rejected
      Errors:  none

    After:
      Analyze: male{x} rejected
      Errors:  invalid select option

17 of 21 new or added lines in 1 file covered. (80.95%)

2 existing lines in 1 file now uncovered.

1603 of 1790 relevant lines covered (89.55%)

94.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
86.63
-0.07% analyze.go

Coverage Regressions

Lines Coverage ∆ File
2
86.63
-0.07% analyze.go
Jobs
ID Job ID Ran Files Coverage
1 37691879862.1 07 Oct 2026 09:48PM UTC 6
89.55
GitHub Action Run
Source Files on build 37691879862
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37691879862
  • b3ebd09e on github
  • Prev Build on main (#37691107061)
  • Next Build on main (#37694406029)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc