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

tecnickcom / gogen / 28806925612
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 04:34PM UTC
Jobs 1
Files 167
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

06 Jul 2026 04:28PM UTC coverage: 99.971%. Remained the same
28806925612

push

github

nicolaasuni
test(phonekeypad): add benchmarks, pin ASCII-only and never-nil behavior, and clarify skip/slice docs

Add phonekeypad_benchmark_test.go covering KeypadDigit, KeypadNumber, and KeypadNumberString with ReportAllocs, matching the numtrie benchmark convention and substantiating the package's allocation-minimal claims (0 allocs for KeypadDigit, 1 each for the string/slice converters).
Extend TestKeypadDigit with digit '9', lowercase 'z', and skipped non-ASCII cases (accented 'é', full-width '2') to lock in the documented (-1, false) behavior for anything outside ASCII digits and letters.
Add TestKeypadNumberEdgeCases asserting KeypadNumber returns a non-nil, zero-length slice for empty and all-separator input, and that non-ASCII letters are dropped ("CAFÉ" -> {2, 2, 3}).
Clarify godoc: state the ASCII-only mapping scope, that non-ASCII/accented/full-width runes are silently skipped, and that KeypadNumber never returns nil. No runtime code changed; coverage stays 100% and golangci-lint is clean.

13650 of 13654 relevant lines covered (99.97%)

123048.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28806925612.1 06 Jul 2026 04:34PM UTC 167
99.97
GitHub Action Run
Source Files on build 28806925612
  • Tree
  • List 167
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28806925612
  • cc7fee57 on github
  • Prev Build on main (#28802722110)
  • Next Build on main (#28808062094)
  • Delete
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