diff options
| author | Jim Lawson | 2020-03-25 09:35:21 -0700 |
|---|---|---|
| committer | GitHub | 2020-03-25 16:35:21 +0000 |
| commit | 9995f081291d974a6b5ad319e67a9d19cdc4a56d (patch) | |
| tree | 351bcbc4cedc97ffbb219f043c4961e52d12ada7 /src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala | |
| parent | bdac6e1c55694f1562a56b2eb0716733bd2f1fc0 (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/firrtlTests/options/phases/GetIncludesSpec.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala b/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala index defda6c0..7d20ac89 100644 --- a/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala +++ b/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala @@ -2,7 +2,6 @@ package firrtlTests.options.phases -import org.scalatest.{FlatSpec, Matchers} import java.io.{File, PrintWriter} @@ -12,6 +11,8 @@ import firrtl.annotations.{AnnotationFileNotFoundException, JsonProtocol, import firrtl.options.phases.GetIncludes import firrtl.options.{InputAnnotationFileAnnotation, Phase} import firrtl.util.BackendCompilationUtilities +import org.scalatest.flatspec.AnyFlatSpec +import org.scalatest.matchers.should.Matchers case object A extends NoTargetAnnotation case object B extends NoTargetAnnotation @@ -19,7 +20,7 @@ case object C extends NoTargetAnnotation case object D extends NoTargetAnnotation case object E extends NoTargetAnnotation -class GetIncludesSpec extends FlatSpec with Matchers with BackendCompilationUtilities with firrtl.testutils.Utils { +class GetIncludesSpec extends AnyFlatSpec with Matchers with BackendCompilationUtilities with firrtl.testutils.Utils { val dir = new File("test_run_dir/GetIncludesSpec") dir.mkdirs() |
