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

moonbitlang / core / 5179

16 Jul 2026 07:49AM UTC coverage: 91.268%. Remained the same
5179

push

github

bobzhang
refactor: use multi-line string literals for escape-heavy strings

Convert string literals dense with \" and \n escapes to multi-line
string literals for readability:

- protocol strings (@EXPECT_FAILED, @SNAPSHOT_TESTING) in
  builtin/console, json, debug, and test now use ($|...) interpolated
  lines, dropping a dozen quote escapes each
- assert_eq's diff message and argparse's format_error_with_help use
  $| blocks that show their actual line structure
- quote-heavy test expectations and byte dumps use (#|...) raw lines
  so the expected text appears verbatim (JSON escapes stay visible as
  JSON escapes)
- json/README.mbt.md's `content={ let output = #|...; output }`
  workaround replaced with the direct (#|...) form

Reviewed by Codex CLI (codex-cli 0.144.1) in three passes: full
semantic review (17 conversions, no findings), verification of the
follow-up round (27 strings, PASS), and final sign-off.

Signed-off-by: Codex CLI <codex@openai.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

15710 of 17213 relevant lines covered (91.27%)

191052.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.15
/debug/debug.mbt


Source Not Available

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