Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 7864156

Browse files
committed
Replaced remaining with
1 parent 451eedc commit 7864156

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/probably.Report.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Report(using Environment):
9898

9999
def resolve(suite: Optional[Testable]): ReportLine.Suite =
100100
suite.option.map: suite =>
101-
(resolve(suite.parent).tests(suite.id): @unchecked) match
101+
resolve(suite.parent).tests(suite.id).runtimeChecked match
102102
case suite@ReportLine.Suite(_, _) => suite
103103

104104
. getOrElse(lines)
@@ -120,8 +120,7 @@ class Report(using Environment):
120120
def addOutcome(testId: TestId, outcome: Outcome): Report = this.also:
121121
val tests = resolve(testId.suite).tests
122122

123-
(tests.getOrElseUpdate
124-
(testId, ReportLine.Test(testId, scm.ArrayBuffer[Outcome]())): @unchecked) match
123+
tests.getOrElseUpdate(testId, ReportLine.Test(testId, scm.ArrayBuffer[Outcome]())).runtimeChecked match
125124
case ReportLine.Test(_, buf) => buf.append(outcome)
126125

127126
def addDetails(testId: TestId, info: Details): Report =

0 commit comments

Comments
 (0)