aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtl/testutils/FirrtlSpec.scala
diff options
context:
space:
mode:
authorJim Lawson2020-03-25 09:35:21 -0700
committerGitHub2020-03-25 16:35:21 +0000
commit9995f081291d974a6b5ad319e67a9d19cdc4a56d (patch)
tree351bcbc4cedc97ffbb219f043c4961e52d12ada7 /src/test/scala/firrtl/testutils/FirrtlSpec.scala
parentbdac6e1c55694f1562a56b2eb0716733bd2f1fc0 (diff)
Update scalatest 3.1.0 (#1383)
* Removed unused imports in src/test/ * Update ScalaTest deprecations. * Update scalatest from 3.0.8 to 3.1.0; apply auto fix for deprecations Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'src/test/scala/firrtl/testutils/FirrtlSpec.scala')
-rw-r--r--src/test/scala/firrtl/testutils/FirrtlSpec.scala7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/scala/firrtl/testutils/FirrtlSpec.scala b/src/test/scala/firrtl/testutils/FirrtlSpec.scala
index 46f36e87..4cc9382f 100644
--- a/src/test/scala/firrtl/testutils/FirrtlSpec.scala
+++ b/src/test/scala/firrtl/testutils/FirrtlSpec.scala
@@ -18,6 +18,9 @@ import firrtl.analyses.{GetNamespace, ModuleNamespaceAnnotation}
import firrtl.annotations._
import firrtl.transforms.{DontTouchAnnotation, NoDedupAnnotation, RenameModules}
import firrtl.util.BackendCompilationUtilities
+import org.scalatest.flatspec.AnyFlatSpec
+import org.scalatest.matchers.should.Matchers
+import org.scalatest.propspec.AnyPropSpec
class CheckLowForm extends SeqTransform {
def inputForm = LowForm
@@ -255,9 +258,9 @@ object FirrtlCheckers extends FirrtlMatchers {
}
}
-abstract class FirrtlPropSpec extends PropSpec with ScalaCheckPropertyChecks with FirrtlRunners with LazyLogging
+abstract class FirrtlPropSpec extends AnyPropSpec with ScalaCheckPropertyChecks with FirrtlRunners with LazyLogging
-abstract class FirrtlFlatSpec extends FlatSpec with FirrtlRunners with FirrtlMatchers with LazyLogging
+abstract class FirrtlFlatSpec extends AnyFlatSpec with FirrtlRunners with FirrtlMatchers with LazyLogging
// Who tests the testers?
class TestFirrtlFlatSpec extends FirrtlFlatSpec {