summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/AnnotationNoDedup.scala
diff options
context:
space:
mode:
authorJim Lawson2020-04-13 17:24:14 -0700
committerGitHub2020-04-13 17:24:14 -0700
commitcec050dbd898b9d1f5ce4d4558af33c7e799b7a9 (patch)
treeaa189489bf495a01eea59d7b5d7cda74c4d51320 /src/test/scala/chiselTests/AnnotationNoDedup.scala
parenta39d0e13792e63e0bd3e0c1b0b9c27e309927a52 (diff)
Update scalatest to 3.1.0 (#1394)
Co-authored-by: Scala Steward <me@scala-steward.org>
Diffstat (limited to 'src/test/scala/chiselTests/AnnotationNoDedup.scala')
-rw-r--r--src/test/scala/chiselTests/AnnotationNoDedup.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/AnnotationNoDedup.scala b/src/test/scala/chiselTests/AnnotationNoDedup.scala
index 3cb457eb..d9cf6110 100644
--- a/src/test/scala/chiselTests/AnnotationNoDedup.scala
+++ b/src/test/scala/chiselTests/AnnotationNoDedup.scala
@@ -5,7 +5,8 @@ package chiselTests
import chisel3._
import chisel3.experimental.doNotDedup
import firrtl.FirrtlExecutionSuccess
-import org.scalatest.{FreeSpec, Matchers}
+import org.scalatest.freespec.AnyFreeSpec
+import org.scalatest.matchers.should.Matchers
class MuchUsedModule extends Module {
@@ -39,7 +40,7 @@ class UsesMuchUsedModule(addAnnos: Boolean) extends Module {
}
}
-class AnnotationNoDedup extends FreeSpec with Matchers {
+class AnnotationNoDedup extends AnyFreeSpec with Matchers {
// scalastyle:off line.size.limit
"Firrtl provides transform that reduces identical modules to a single instance" - {
"Annotations can be added which will prevent this deduplication for specific modules instances" in {