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

moonbitlang / core / 2109

15 Dec 2025 01:54PM UTC coverage: 90.513% (-0.002%) from 90.515%
2109

push

github

bobzhang
Make trim functions accept optional chars parameter

- Change String::trim, trim_start, trim_end to accept optional chars parameter with default whitespace
- Change StringView::trim, trim_start, trim_end to accept optional chars parameter with default whitespace
- Deprecate String::trim_space and StringView::trim_space in favor of trim() with defaults
- Update tests to use trim() instead of trim_space()
- Update CHANGELOG.md with breaking changes and deprecations

10123 of 11184 relevant lines covered (90.51%)

179556.36 hits per line

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

94.05
/builtin/string_methods.mbt


Build SHA Not Found

The commit SHA "684a84452e1d66a8576e74897119ce8ccaeb64ce" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

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