labts fixes #31

Merged
gc1523 merged 5 commits from labts-fixes into runtime-errors 2025-02-27 21:58:02 +00:00
2 changed files with 9 additions and 3 deletions
Showing only changes of commit a20f28977b - Show all commits

View File

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