summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/AnnotatingDiamondSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/AnnotatingDiamondSpec.scala')
-rw-r--r--src/test/scala/chiselTests/AnnotatingDiamondSpec.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/AnnotatingDiamondSpec.scala b/src/test/scala/chiselTests/AnnotatingDiamondSpec.scala
index b8a0a5ef..f63fcb3d 100644
--- a/src/test/scala/chiselTests/AnnotatingDiamondSpec.scala
+++ b/src/test/scala/chiselTests/AnnotatingDiamondSpec.scala
@@ -13,6 +13,8 @@ import firrtl.annotations.{
Named
}
import org.scalatest._
+import org.scalatest.freespec.AnyFreeSpec
+import org.scalatest.matchers.should.Matchers
/** These annotations and the IdentityTransform class serve as an example of how to write a
* Chisel/Firrtl library
@@ -129,7 +131,7 @@ class DiamondTester extends BasicTester {
stop()
}
-class AnnotatingDiamondSpec extends FreeSpec with Matchers {
+class AnnotatingDiamondSpec extends AnyFreeSpec with Matchers {
"""
|Diamond is an example of a module that has two sub-modules A and B who both instantiate their