diff options
Diffstat (limited to 'src/test/scala/chiselTests/AnnotationNoDedup.scala')
| -rw-r--r-- | src/test/scala/chiselTests/AnnotationNoDedup.scala | 5 |
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 { |
