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

moonbitlang / core / 5549
91%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 03:05AM UTC
Jobs 1
Files 443
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

25 Jul 2026 03:04AM UTC coverage: 91.256%. Remained the same
5549

push

github

bobzhang
refactor(test): make test fixtures `priv`, drop needless `pub extend`

A type declared in a test source (`_test.mbt`, `_wbtest.mbt`, or a `mbt check`
block in `README.mbt.md`) with no visibility modifier is *abstract-public*, so
`implicit_impl_as_method` fires for its derived impls and each one needs a
`pub extend` declaration that has nothing to do with the test. Declaring these
fixtures `priv` removes the need entirely.

- 33 test-fixture types marked `priv`; the 56 `pub extend` declarations they
  required are dropped across 31 test sources (including three `README.mbt.md`
  doc examples, which are compiled as blackbox tests).
- The few tests that called a promoted method directly now use the trait form
  (`ToJson::to_json(x)`, `(Default::default() : MX)`).
- Four derives whose only consumer was a removed `extend` are dropped as dead
  code (`Debug` on RangeImpl/Pair/Opt, `Eq` on AllThree/DecodeError).

Documented in AGENTS.md so new fixtures start out `priv`.

No public API change: `.mbti` is untouched.

Verified: `moon check --deny-warn --target all` clean; `moon test --build-only
--deny-warn` green on all four backends; `moon test --target all` green
(6780/6780/6736/6691).

15884 of 17406 relevant lines covered (91.26%)

189016.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5549.1 25 Jul 2026 03:05AM UTC 444
91.27
GitHub Action Run
Source Files on build 5549
  • Tree
  • List 443
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dcdcc758 on github
  • Prev Build on main (#5546)
  • Next Build on main (#5551)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc