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

moonbitlang / core / 4165
95%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 03:02PM UTC
Jobs 1
Files 364
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

05 May 2026 03:01PM UTC coverage: 94.542% (-0.003%) from 94.545%
4165

push

github

bobzhang
refactor(argparse): use Array::any in has_options / has_long_option / has_short_option

Three boolean-reduction loops in argparse/help_render.mbt all matched
the same shape: walk `args`, return `true` on match, return `false` if
none. Replace with `args.any(...)`:

- `has_options(cmd)`
- `has_long_option(args, name)`
- `has_short_option(args, value)`

Bundled because the change is identical in shape and the three sites
sit within ~30 lines of each other.

Semantics-preserving: `moon test -p argparse` (225/225) passes and
`moon info` produces no `.mbti` change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

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

14863 of 15721 relevant lines covered (94.54%)

218277.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4165.1 05 May 2026 03:02PM UTC 365
94.55
GitHub Action Run
Source Files on build 4165
  • Tree
  • List 364
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2cdcfa8f on github
  • Prev Build on main (#4163)
  • Next Build on main (#4171)
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