feat: implement all runtime errors #32

Merged
jt2622 merged 16 commits from runtime-errors into master 2025-02-28 00:23:13 +00:00
5 changed files with 150 additions and 57 deletions
Showing only changes of commit 4727d6c399 - Show all commits

View File

@@ -79,7 +79,7 @@ class ParallelExamplesSpec extends AnyFlatSpec with BeforeAndAfterAll {
assert( assert(
stdout.toString stdout.toString
.replaceAll("0x[0-9a-f]+", "#addrs#") .replaceAll("0x[0-9a-f]+", "#addrs#")
.replaceAll("fatal error:.*", "#runtime_error#\n\u0000") .replaceAll("fatal error:.*", "#runtime_error#\u0000")
.takeWhile(_ != '\u0000') .takeWhile(_ != '\u0000')
== expectedOutput == expectedOutput
) )