Minor formatting updates.
This commit is contained in:
parent
fb831ea7d3
commit
830105af3a
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue