Skip to content

Commit 588d05d

Browse files
committed
Updated ScalaTest 3.1.0
1 parent 3b2ae00 commit 588d05d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ lazy val `scala-tutorial` = (project in file("."))
1414
%%("shapeless", V.shapeless),
1515
%%("scalatest", V.scalatest),
1616
%%("scalacheck", V.scalacheck),
17-
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % V.scalacheckShapeless
17+
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % V.scalacheckShapeless,
18+
"org.scalatestplus" %% "scalatestplus-scalacheck" % V.scalatestplusScheck
1819
)
1920
)
2021

project/ProjectPlugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ object ProjectPlugin extends AutoPlugin {
1717
lazy val V = new {
1818
val scala212: String = "2.12.10"
1919
val shapeless: String = "2.3.3"
20-
val scalatest: String = "3.0.8"
20+
val scalatest: String = "3.1.0"
21+
val scalatestplusScheck: String = "3.1.0.0-RC2"
2122
val scalacheck: String = "1.14.2"
2223
val scalacheckShapeless: String = "1.2.3"
2324
}

src/main/scala/scalatutorial/sections/ScalaTutorialSection.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
package scalatutorial.sections
88

99
import org.scalaexercises.definitions.Section
10-
import org.scalatest.{FlatSpec, Matchers}
10+
import org.scalatest.flatspec.AnyFlatSpec
11+
import org.scalatest.matchers.should.Matchers
1112

12-
trait ScalaTutorialSection extends FlatSpec with Matchers with Section
13+
trait ScalaTutorialSection extends AnyFlatSpec with Matchers with Section

0 commit comments

Comments
 (0)