Skip to content

Commit bd06199

Browse files
committed
.
1 parent f83a1b1 commit bd06199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/util/StackTraceTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class StackTraceTest:
3737
// evaluating s should throw, p trims stack trace, t is the test of resulting trace string
3838
def probe(s: => String)(p: StackTraceElement => Boolean)(t: String => Unit): Unit =
3939
import StackTraceOps.formatStackTracePrefix
40-
Try(s).recover { case e => e.formatStackTracePrefix(p) } match
40+
Try(s).recover { case e => e.formatStackTracePrefix(p).plainText } match
4141
case Success(s) => t(s)
4242
case Failure(e) => throw e
4343

0 commit comments

Comments
 (0)