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

moonbitlang / core / 4194
95%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 11:24PM 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
4194

push

github

bobzhang
refactor: use [] literal instead of Array::new() in two non-test sites

In bench/types.mbt and env/env_wasm.mbt, replace `Array::new()` (capacity-less
form) with the empty array literal `[]`. Type inference picks up the
expected type from the surrounding struct field / function return type, so
no annotation is needed.

The wider codebase already prefers `[]` for empty-array initialization
(see e.g. argparse/command.mbt, json/json.mbt, env/env_native.mbt).

Semantics-preserving: `moon test -p bench` (12/12) and
`moon test -p env` (100/100) pass; `moon info` produces no `.mbti` change.

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

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

14838 of 15682 relevant lines covered (94.62%)

218820.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4194.1 05 May 2026 11:24PM UTC 365
94.63
GitHub Action Run
Source Files on build 4194
  • Tree
  • List 364
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 706fe506 on github
  • Prev Build on main (#4193)
  • Next Build on main (#4195)
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