Skip to content

Commit

Permalink
Update Scalatest to 3.0.8 and run Scalafix
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Mauch committed May 19, 2020
1 parent 0c8215e commit 86d8c70
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ val coreTestSources = unmanagedSourceDirectories in Test := {

// additional libraries
lazy val commonDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.0.5",
"org.scalatest" %% "scalatest" % "3.0.8",
"io.github.nicolasstucki" %% "multisets" % "0.4",
"org.scalacheck" %% "scalacheck" % "1.14.0",
"junit" % "junit" % "4.12",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.spark.sql.types._
import org.scalacheck.{Arbitrary, Gen}
import org.scalacheck.Prop.forAll
import org.scalatest.FunSuite
import org.scalatest.prop.Checkers
import org.scalatestplus.scalacheck.Checkers

class SampleScalaCheckTest extends FunSuite
with SharedSparkContext with RDDComparisons with Checkers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.scalacheck.Prop._
import org.scalacheck.util.Pretty
import org.scalatest.FunSuite
import org.scalatest.exceptions.GeneratorDrivenPropertyCheckFailedException
import org.scalatest.prop.Checkers
import org.scalatestplus.scalacheck.Checkers

class PrettifyTest extends FunSuite with SharedSparkContext with Checkers with Prettify {
implicit val propertyCheckConfig = PropertyCheckConfig(minSize = 2, maxSize = 2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.apache.spark.sql.{Dataset, SQLContext}
import org.scalacheck.{Gen, Arbitrary}
import org.scalacheck.Prop.forAll
import org.scalatest.FunSuite
import org.scalatest.prop.Checkers
import org.scalatestplus.scalacheck.Checkers

class SampleDatasetGeneratorTest extends FunSuite
with SharedSparkContext with Checkers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.apache.spark.sql.{Dataset, SQLContext}
import org.scalacheck.{Gen, Arbitrary}
import org.scalacheck.Prop.forAll
import org.scalatest.FunSuite
import org.scalatest.prop.Checkers
import org.scalatestplus.scalacheck.Checkers

class DatasetGeneratorSizeSpecial extends FunSuite
with SharedSparkContext with Checkers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.apache.spark.sql.SQLContext
import org.apache.spark.sql.types.{StructField, StructType}
import org.scalacheck.Prop.forAll
import org.scalatest.FunSuite
import org.scalatest.prop.Checkers
import org.scalatestplus.scalacheck.Checkers

class MLScalaCheckTest extends FunSuite with SharedSparkContext with Checkers {
// re-use the spark context
Expand Down

0 comments on commit 86d8c70

Please sign in to comment.