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

ossuminc / riddl / 21654435922 / 1
62%
main: 62%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2026 01:18AM UTC
Files 104
Run time 2s
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

04 Feb 2026 12:44AM UTC coverage: 64.064% (-0.03%) from 64.09%
21654435922.1

push

respencer-ncl
Fix System.lineSeparator() returning null bytes in Scala.js

System.lineSeparator() returns \0 in Scala.js, causing esbuild
"Unterminated string literal" errors. Replace all shared-code usages
with PlatformContext.newline which returns the correct value per
platform (System.lineSeparator() on JVM/Native, "\n" on JS).

Key changes:
- FileBuilder trait now takes (using PlatformContext) parameter,
  propagated through OutputFile, TextFileWriter, RiddlFileEmitter,
  PrettifyState, PrettifyVisitor, and PrettifyOutput
- StringHelpers.toPrettyString takes (using PlatformContext)
- Messages.format uses existing nl constant instead of System call
- JVM/Native PlatformContext.newline uses System.lineSeparator()
- Command files use PlatformContext.newline consistently
- Removed @JSExportTopLevel from PrettifyState/PrettifyOutput
  (incompatible with using parameter lists in Scala.js exports)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

5710 of 8913 relevant lines covered (64.06%)

0.64 hits per line

Source Files on job 21654435922.1
  • Tree
  • List 104
  • Changed 33
  • Source Changed 8
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21654435922
  • 5bcfbc68 on github
  • Prev Job for on main (#21653125401.1)
  • Next Job for on main (#21738399926.1)
  • Delete
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