aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala
diff options
context:
space:
mode:
authorchick2020-08-14 19:47:53 -0700
committerJack Koenig2020-08-14 19:47:53 -0700
commit6fc742bfaf5ee508a34189400a1a7dbffe3f1cac (patch)
tree2ed103ee80b0fba613c88a66af854ae9952610ce /src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala
parentb516293f703c4de86397862fee1897aded2ae140 (diff)
All of src/ formatted with scalafmt
Diffstat (limited to 'src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala b/src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala
index 3401a408..f625f991 100644
--- a/src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala
+++ b/src/test/scala/firrtlTests/options/phases/AddDefaultsSpec.scala
@@ -2,7 +2,6 @@
package firrtlTests.options.phases
-
import firrtl.options.{Phase, TargetDirAnnotation}
import firrtl.options.phases.AddDefaults
import org.scalatest.flatspec.AnyFlatSpec
@@ -16,13 +15,13 @@ class AddDefaultsSpec extends AnyFlatSpec with Matchers {
val defaultDir = TargetDirAnnotation(".")
}
- behavior of classOf[AddDefaults].toString
+ behavior.of(classOf[AddDefaults].toString)
it should "add a TargetDirAnnotation if it does not exist" in new Fixture {
- phase.transform(Seq.empty).toSeq should be (Seq(defaultDir))
+ phase.transform(Seq.empty).toSeq should be(Seq(defaultDir))
}
it should "don't add a TargetDirAnnotation if it exists" in new Fixture {
- phase.transform(Seq(targetDir)).toSeq should be (Seq(targetDir))
+ phase.transform(Seq(targetDir)).toSeq should be(Seq(targetDir))
}
}