aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala b/src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala
index 10e63ae4..40d810c5 100644
--- a/src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala
+++ b/src/test/scala/firrtlTests/formal/RemoveVerificationStatementsSpec.scala
@@ -1,4 +1,3 @@
-
package firrtlTests.formal
import firrtl.{CircuitState, Parser, Transform, UnknownForm}
@@ -7,17 +6,18 @@ import firrtl.testutils.FirrtlFlatSpec
import firrtl.transforms.formal.RemoveVerificationStatements
class RemoveVerificationStatementsSpec extends FirrtlFlatSpec {
- behavior of "RemoveVerificationStatements"
+ behavior.of("RemoveVerificationStatements")
- val transforms = new TransformManager(Forms.HighForm, Forms.MinimalHighForm)
- .flattenedTransformOrder ++ Seq(new RemoveVerificationStatements)
+ val transforms = new TransformManager(Forms.HighForm, Forms.MinimalHighForm).flattenedTransformOrder ++ Seq(
+ new RemoveVerificationStatements
+ )
def run(input: String, antiCheck: Seq[String], debug: Boolean = false): Unit = {
val circuit = Parser.parse(input.split("\n").toIterator)
- val result = transforms.foldLeft(CircuitState(circuit, UnknownForm)) {
- (c: CircuitState, p: Transform) => p.runTransform(c)
+ val result = transforms.foldLeft(CircuitState(circuit, UnknownForm)) { (c: CircuitState, p: Transform) =>
+ p.runTransform(c)
}
- val lines = result.circuit.serialize.split("\n") map normalized
+ val lines = result.circuit.serialize.split("\n").map(normalized)
if (debug) {
println(lines.mkString("\n"))