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

abice / go-enum / 29019280700
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-e986305a06
DEFAULT BRANCH: master
Ran 09 Jul 2026 12:54PM UTC
Jobs 2
Files 5
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

09 Jul 2026 12:47PM UTC coverage: 92.67% (+0.008%) from 92.662%
29019280700

Pull #311

github

KevSlashNull
fix: ignore parenthesis in value comments

This fixes a bug where the enum declaration parser respects closing
parenthesis (to close the `ENUM(` with a `)`) if they are in a value
comment.

For example, the following enum declaration parses incorrectly in
the latest version:

    ENUM(
      dog, // dog :)
      cat, // cat :3
    )

The resulting enum would only contain `dog` because the closing
parenthesis is considered to end the `ENUM` tag, which is incorrect.

This is fixed by ignoring the contents of value comments on a given line
(i.e. anything after `//` within the `ENUM(...)` declaration).
Pull Request #311: fix: ignore parenthesis in value comments

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

885 of 955 relevant lines covered (92.67%)

776.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.26 - 29019280700.1 09 Jul 2026 12:54PM UTC 5
92.67
GitHub Action Run
2 Go-1.25 - 29019280700.2 09 Jul 2026 12:57PM UTC 5
92.67
GitHub Action Run
Source Files on build 29019280700
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #311
  • PR Base - master (#28985428987)
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