Skip to content

Commit cd5ed1e

Browse files
committed
Workaround "recursive method needs return type": scala/scala3#3253
1 parent 48d6a5e commit cd5ed1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scalatest/src/main/scala/org/scalatest/Suite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,9 +1616,9 @@ used for test events like succeeded/failed, etc.
16161616
IndentedText(formattedText, decodedTestText, level)
16171617
}
16181618

1619-
def getEscapedIndentedTextForTest(testText: String, level: Int, includeIcon: Boolean) = {
1619+
def getEscapedIndentedTextForTest(testText: String, level: Int, includeIcon: Boolean): IndentedText = {
16201620
val decodedTestText = NameTransformer.decode(testText)
1621-
val escapedTestText =
1621+
val escapedTestText =
16221622
if (decodedTestText.startsWith("test: "))
16231623
decodedTestText.drop(6)
16241624
else

0 commit comments

Comments
 (0)