aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtl/testutils/PassTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/firrtl/testutils/PassTests.scala')
-rw-r--r--src/test/scala/firrtl/testutils/PassTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtl/testutils/PassTests.scala b/src/test/scala/firrtl/testutils/PassTests.scala
index c172163e..3d820003 100644
--- a/src/test/scala/firrtl/testutils/PassTests.scala
+++ b/src/test/scala/firrtl/testutils/PassTests.scala
@@ -2,7 +2,7 @@
package firrtl.testutils
-import org.scalatest.FlatSpec
+import org.scalatest.flatspec.AnyFlatSpec
import firrtl.ir.Circuit
import firrtl.passes.{PassExceptions, RemoveEmpty}
import firrtl.transforms.DedupModules
@@ -12,7 +12,7 @@ import logger._
// An example methodology for testing Firrtl Passes
// Spec class should extend this class
-abstract class SimpleTransformSpec extends FlatSpec with FirrtlMatchers with Compiler with LazyLogging {
+abstract class SimpleTransformSpec extends AnyFlatSpec with FirrtlMatchers with Compiler with LazyLogging {
// Utility function
def squash(c: Circuit): Circuit = RemoveEmpty.run(c)