Skip to content

Commit

Permalink
Flip Expected <> Actual in test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
hmemcpy committed Feb 23, 2024
1 parent 6db6fc0 commit 099e1ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.sbtidea.{AutoJbr, JbrPlatform}

lazy val scala213 = "2.13.10"
lazy val scalaPluginVersion = "2023.3.19"
lazy val minorVersion = "1"
lazy val minorVersion = "2"
lazy val buildVersion = sys.env.getOrElse("ZIO_INTELLIJ_BUILD_NUMBER", minorVersion)
lazy val pluginVersion = s"2023.3.31.$buildVersion"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ private[zio] class ZTestFrameworkConsoleProperties(configuration: AbstractTestRu
val tf = regexFromHell
.findFirstMatchIn(details)
.map { m =>
val expected = unescapeAnsi(m.group(1)).trim
val actual = unescapeAnsi(m.group(2)).trim
val actual = unescapeAnsi(m.group(1)).trim
val expected = unescapeAnsi(m.group(2)).trim
val ex = new Throwable with NoStackTrace {
override def printStackTrace(s: PrintStream): Unit =
s.println(details)
Expand Down

0 comments on commit 099e1ae

Please sign in to comment.