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

moonbitlang / core / 1544
90%
main: 92%

Build:
Build:
LAST BUILD BRANCH: hongbo/fix_deque_copy_flatten
DEFAULT BRANCH: main
Ran 16 Oct 2025 12:08PM UTC
Jobs 1
Files 247
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

16 Oct 2025 12:06PM UTC coverage: 90.116% (+0.009%) from 90.107%
1544

Pull #2832

github

bobzhang
Add String and StringView lexical_compare methods

- Implement lexical_compare for both String and StringView types
- Performs character-by-character comparison (UTF-16 code units) similar to Java's String.compareTo()
- Unlike Compare trait (which uses shortlex order), this compares purely on character values
- Add comprehensive documentation explaining the difference from Compare trait
- Add extensive test coverage including:
  - Equal/less than/greater than comparisons
  - Different length strings with same prefix
  - Case sensitivity and special characters
  - Emoji and surrogate pairs (UTF-16 behavior)
  - Empty strings and whitespace
  - Mixed ASCII and Unicode
- All 202 tests pass in the string package
Pull Request #2832: Add String and StringView lexical_compare methods

9 of 9 new or added lines in 2 files covered. (100.0%)

9436 of 10471 relevant lines covered (90.12%)

192361.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1544.1 16 Oct 2025 12:08PM UTC 248
90.14
GitHub Action Run
Source Files on build 1544
  • Tree
  • List 247
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2832
  • PR Base - main (#1541)
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

© 2025 Coveralls, Inc