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

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

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 11:24PM UTC
Files 365
Run time 9s
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 11:22PM UTC coverage: 94.627% (-0.001%) from 94.628%
4196.1

push

github

bobzhang
refactor(argparse): collapse has_subcommands_for_help with Array::any

```diff
 fn has_subcommands_for_help(cmd : Command) -> Bool {
-  if help_subcommand_enabled(cmd) {
-    return true
-  }
-  for sub in cmd.subcommands {
-    if !sub.hidden {
-      return true
-    }
-  }
-  false
+  help_subcommand_enabled(cmd) || cmd.subcommands.any(sub => !sub.hidden)
 }
```

Same idiom as the earlier `Array::any` collapses (#3530). Boolean
short-circuit on the early-exit branch preserves the original behavior.

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>

14864 of 15708 relevant lines covered (94.63%)

218457.89 hits per line

Source Files on job 4196.1
  • Tree
  • List 365
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4196
  • 95ad6d84 on github
  • Prev Job for on main (#4195.1)
  • Next Job for on main (#4200.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