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

moonbitlang / core / 4369
94%

Build:
DEFAULT BRANCH: main
Ran 17 May 2026 02:46AM UTC
Jobs 1
Files 369
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

17 May 2026 02:45AM UTC coverage: 94.19% (-0.001%) from 94.191%
4369

push

github

bobzhang
fix(builtin): make StringView Show::output match Show::to_string

The trait doc for Show says output and to_string must produce the same
text. StringView violated this: output wrote an escaped, quoted form
(via escape_to) while to_string returned the raw view. Remove the
output override so the default — write_string(to_string()) — kicks in,
matching String's behavior.

SourceLocRepr::to_json_string was relying on the buggy escape to inject
JSON-string quoting around its filename field; switch it to call
escape_to explicitly so the JSON output is unchanged after the fix.

Add a test that verifies output and to_string agree for StringView
across plain ASCII, special characters, and multi-byte content.

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%)

14948 of 15870 relevant lines covered (94.19%)

216397.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4369.1 17 May 2026 02:46AM UTC 370
94.2
GitHub Action Run
Source Files on build 4369
  • Tree
  • List 369
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fa72826c on github
  • Prev Build on main (#4364)
  • Next Build on main (#4372)
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