We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83a1b1 commit bd06199Copy full SHA for bd06199
compiler/test/dotty/tools/dotc/util/StackTraceTest.scala
@@ -37,7 +37,7 @@ class StackTraceTest:
37
// evaluating s should throw, p trims stack trace, t is the test of resulting trace string
38
def probe(s: => String)(p: StackTraceElement => Boolean)(t: String => Unit): Unit =
39
import StackTraceOps.formatStackTracePrefix
40
- Try(s).recover { case e => e.formatStackTracePrefix(p) } match
+ Try(s).recover { case e => e.formatStackTracePrefix(p).plainText } match
41
case Success(s) => t(s)
42
case Failure(e) => throw e
43
0 commit comments