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

moonbitlang / core / 4165 / 1
94%
main: 94%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 03:02PM UTC
Files 365
Run time 14s
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.552% (-0.003%) from 94.555%
4165.1

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>

14892 of 15750 relevant lines covered (94.55%)

217875.49 hits per line

Source Files on job 4165.1
  • Tree
  • List 365
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4165
  • 2cdcfa8f on github
  • Prev Job for on main (#4163.1)
  • Next Job for on main (#4171.1)
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