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

moonbitlang / core / 4098
94%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 08:23AM UTC
Jobs 1
Files 363
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

30 Apr 2026 08:22AM UTC coverage: 94.587% (-0.006%) from 94.593%
4098

push

github

bobzhang
test(bytes): cover Bytes::repeat multiplication overflow

Add a panic test that triggers the overflow guard on a `len * count`
that wraps past `Int.MAX` (4 * 1_000_000_000 = 4_000_000_000), and
upgrade the existing bare `guard total / count == len` to use the same
explicit `else { abort("repeat result too large") }` form already used
by `Array::repeat`, `String::repeat`, and `StringView::repeat`. This
turns the overflow case from an opaque guard panic into a clearly
labeled abort, matching the rest of the `*::repeat` family.

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

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

14836 of 15685 relevant lines covered (94.59%)

218774.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.24
-0.76% builtin/bytes.mbt
Jobs
ID Job ID Ran Files Coverage
1 4098.1 30 Apr 2026 08:23AM UTC 364
94.6
GitHub Action Run
Source Files on build 4098
  • Tree
  • List 363
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bfdfdd3d on github
  • Prev Build on main (#4096)
  • Next Build on main (#4100)
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