Minor formatting updates.

This commit is contained in:
Pat Garrity 2025-08-13 22:07:08 -05:00
parent fb831ea7d3
commit 830105af3a
Signed by: pfm
GPG key ID: 5CA5D21BAB7F3A76
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
// See: https://github.com/scalameta/scalafmt/tags for the latest tags. // See: https://github.com/scalameta/scalafmt/tags for the latest tags.
version = 3.8.1 version = 3.9.9
runner.dialect = scala3 runner.dialect = scala3
maxColumn = 80 maxColumn = 80

View file

@ -54,7 +54,7 @@ final class PlainResultFormatter extends ResultFormatter:
private def makeFailure(result: Either[TestFailure, Any]): String = private def makeFailure(result: Either[TestFailure, Any]): String =
result match result match
case Right(_) => "" case Right(_) => ""
case Left(f) => case Left(f) =>
s"""\n------ s"""\n------
${f.message} ${f.message}
""".stripMargin """.stripMargin

View file

@ -246,13 +246,13 @@ final class TestEngine[F[_]: Async](
private def parseTraceId(candidate: Option[String]): String = private def parseTraceId(candidate: Option[String]): String =
candidate match candidate match
case Some(traceId) => traceId case Some(traceId) => traceId
case None => case None =>
throw new IllegalArgumentException("Created a span without a Trace ID!") throw new IllegalArgumentException("Created a span without a Trace ID!")
private def parseSpanId(candidate: Option[String]): String = private def parseSpanId(candidate: Option[String]): String =
candidate match candidate match
case Some(spanId) => spanId case Some(spanId) => spanId
case None => case None =>
throw new IllegalArgumentException("Created a span without a Span ID!") throw new IllegalArgumentException("Created a span without a Span ID!")
private def makeSuiteExecution( private def makeSuiteExecution(