Skip to content

Commit

Permalink
Merged changes from branch 3.2.x-new.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeseng committed Sep 7, 2023
1 parent faad04d commit ae8216f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class Framework extends SbtFramework {
)
}
else
throw new IllegalArgumentException("Class " + taskDefinition.fullyQualifiedName + " is neither accessible accesible org.scalatest.Suite nor runnable.")
throw new IllegalArgumentException("Class " + taskDefinition.fullyQualifiedName + " is neither accessible org.scalatest.Suite nor runnable.")
}

def taskDef = taskDefinition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import Suite.indentation
import org.scalatest.exceptions.PropertyCheckFailedException
import org.scalatest.exceptions.StackDepth

import org.scalactic.Prettifier

/**
* A <code>Reporter</code> that prints test status information to
* a <code>Writer</code>, <code>OutputStream</code>, or file.
Expand Down Expand Up @@ -787,7 +789,7 @@ private[scalatest] object StringReporter {

case RunAborted(ordinal, message, throwable, duration, summary, formatter, location, payload, threadName, timeStamp) =>

fragmentsOnError(Resources.abortedNote, Any => Resources.runAborted, message, throwable, Vector.empty, formatter, None, None, duration,
fragmentsOnError(Resources.abortedNote, Any => Resources.runAborted + Option(message).map(msg => Prettifier.lineSeparator + msg.toString).getOrElse(""), message, throwable, Vector.empty, formatter, None, None, duration,
presentUnformatted, presentAllDurations, presentShortStackTraces, presentFullStackTraces, presentFilePathname, AnsiRed)

case SuiteStarting(ordinal, suiteName, suiteId, suiteClassName, formatter, location, rerunnable, payload, threadName, timeStamp) =>
Expand Down
1 change: 1 addition & 0 deletions project/scalatest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ object ScalatestBuild extends BuildCommons with DottyBuild with NativeBuild with
mimaCurrentClassfiles := (Compile / classDirectory).value.getParentFile / (name.value + "_" + scalaBinaryVersion.value + "-" + releaseVersion + ".jar")
).settings(osgiSettings: _*).settings(
OsgiKeys.exportPackage := Seq(
"images",
"org.scalatest",
"org.scalatest.compatible",
"org.scalatest.concurrent",
Expand Down

0 comments on commit ae8216f

Please sign in to comment.