aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/options/phases
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/firrtlTests/options/phases')
-rw-r--r--src/test/scala/firrtlTests/options/phases/ChecksSpec.scala4
-rw-r--r--src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/test/scala/firrtlTests/options/phases/ChecksSpec.scala b/src/test/scala/firrtlTests/options/phases/ChecksSpec.scala
index e04ba554..b988f838 100644
--- a/src/test/scala/firrtlTests/options/phases/ChecksSpec.scala
+++ b/src/test/scala/firrtlTests/options/phases/ChecksSpec.scala
@@ -13,14 +13,14 @@ class ChecksSpec extends FlatSpec with Matchers {
val targetDir = TargetDirAnnotation("foo")
val annoOut = OutputAnnotationFileAnnotation("bar")
+ class Fixture { val phase: Phase = new Checks }
+
/* A minimum annotation Seq that will pass [[Checks]] */
val min = Seq(targetDir)
def checkExceptionMessage(phase: Phase, annotations: AnnotationSeq, messageStart: String): Unit =
intercept[OptionsException]{ phase.transform(annotations) }.getMessage should startWith(messageStart)
- class Fixture { val phase: Phase = new Checks }
-
behavior of classOf[Checks].toString
it should "enforce exactly one TargetDirAnnotation" in new Fixture {
diff --git a/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala b/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala
index 5b07d0e0..1007ca8c 100644
--- a/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala
+++ b/src/test/scala/firrtlTests/options/phases/GetIncludesSpec.scala
@@ -21,7 +21,6 @@ case object E extends NoTargetAnnotation
class GetIncludesSpec extends FlatSpec with Matchers with BackendCompilationUtilities with firrtlTests.Utils {
-
val dir = new File("test_run_dir/GetIncludesSpec")
dir.mkdirs()