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

dashbitco / nimble_options / c6fba6b2bb49d95a586e326a7f24a4b05e1c842e-PR-151
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: fix/widen-validation-error-key-type
DEFAULT BRANCH: main
Ran 27 May 2026 09:48AM 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

13 May 2026 03:01AM UTC coverage: 93.793%. Remained the same
c6fba6b2bb49d95a586e326a7f24a4b05e1c842e-PR-151

Pull #151

github

cgarvis
Widen ValidationError :key type to allow lists

The struct already stores a list of atoms for the "unknown options"
error (lib/nimble_options.ex:524 passes a list of keys; test
"unknown options" asserts `key: [:not_an_option1, :not_an_option2]`).
The @type for the field said `atom()` only, so the new set-theoretic
checker in elixir-lang/elixir#15366 flags every caller of error_tuple
at that site and cascades into every package that depends on
nimble_options.

Widening to `atom() | [atom()]` matches actual runtime behavior. Doc
updated to call out the multi-key case. No code change, no test
change.

Signed-off-by: Chris Garvis <cgarvis@gmail.com>
Pull Request #151: Widen ValidationError :key type to allow lists

272 of 290 relevant lines covered (93.79%)

190.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 c6fba6b2bb49d95a586e326a7f24a4b05e1c842e-PR-151.1 27 May 2026 09:48AM UTC 3
93.79
GitHub Action Run
Source Files on build c6fba6b2bb49d95a586e326a7f24a4b05e1c842e-PR-151
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #151
  • PR Base - main (#F16AF25B...)
  • 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