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

go-pkgz / enum / 32206120952
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.7.2
DEFAULT BRANCH: master
Ran 19 Aug 2026 01:47AM UTC
Jobs 1
Files 3
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

19 Aug 2026 01:45AM UTC coverage: 92.095% (-7.2%) from 99.273%
32206120952

Pull #24

github

paskal
Apply the declared type of an enum constant to its value

The type a constant is declared with shapes its value: a float one holds it at
the width of that type, so a constant declared float32 rounds the way the
compiler rounds it. min and max return their result in the type of a typed
argument, and the underlying type of the enum is read through parentheses, so
type code (uint8) is recognised as unsigned and rejects a negative value.
Pull Request #24: Evaluate enum constants with go/constant

400 of 459 new or added lines in 2 files covered. (87.15%)

2 existing lines in 1 file now uncovered.

734 of 797 relevant lines covered (92.1%)

383.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
57
86.03
internal/generator/constexpr.go
2
98.19
-1.0% internal/generator/generator.go

Coverage Regressions

Lines Coverage ∆ File
2
98.19
-1.0% internal/generator/generator.go
Jobs
ID Job ID Ran Files Coverage
1 32206120952.1 19 Aug 2026 01:47AM UTC 3
92.1
GitHub Action Run
Source Files on build 32206120952
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #24
  • PR Base - master (#28463682875)
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