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

moonbitlang / core / 4193
95%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 11:23PM 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 11:22PM UTC coverage: 94.618%. Remained the same
4193

push

github

bobzhang
refactor(argparse): use Array::is_empty instead of length() == 0

argparse uniformly used `xs.length() == 0` while the rest of moonbitlang/core
prefers `.is_empty()` (60+ uses). Fix the style inconsistency: 9 sites
across `parser.mbt`, `parser_validate.mbt`, and `help_render.mbt`.

```diff
-if groups.length() == 0 {
+if groups.is_empty() {
```

Bundled because all sites are mechanical and reside in the same package.

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>

8 of 9 new or added lines in 3 files covered. (88.89%)

14839 of 15683 relevant lines covered (94.62%)

218806.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
79.21
0.0% argparse/parser.mbt
Jobs
ID Job ID Ran Files Coverage
1 4193.1 05 May 2026 11:23PM UTC 365
94.63
GitHub Action Run
Source Files on build 4193
  • Tree
  • List 364
  • Changed 3
  • Source Changed 3
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6043c66f on github
  • Prev Build on main (#4184)
  • Next Build on main (#4194)
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