diff options
| author | Leway Colin | 2019-07-09 02:09:25 +0800 |
|---|---|---|
| committer | mergify[bot] | 2019-07-08 18:09:25 +0000 |
| commit | ab87b5a114de1f0e91a4c080d77a99524fada55b (patch) | |
| tree | 57ee8c14cfa95092d685971789d45ff48fe22a1b | |
| parent | aa571e1d4f76d095344a9deed28dfa70f704fa75 (diff) | |
Fix typo (#1114)
| -rw-r--r-- | src/test/scala/firrtlTests/stage/FirrtlMainSpec.scala | 3 | ||||
| -rw-r--r-- | src/test/scala/firrtlTests/stage/FirrtlOptionsViewSpec.scala | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/scala/firrtlTests/stage/FirrtlMainSpec.scala b/src/test/scala/firrtlTests/stage/FirrtlMainSpec.scala index ca766d52..0d1120fc 100644 --- a/src/test/scala/firrtlTests/stage/FirrtlMainSpec.scala +++ b/src/test/scala/firrtlTests/stage/FirrtlMainSpec.scala @@ -236,6 +236,9 @@ class FirrtlMainSpec extends FeatureSpec with GivenWhenThen with Matchers with f Then("outputs should be written to current directory") out should (exist) out.delete() + + And("the exit code should be 0") + result shouldBe a [Right[_,_]] } scenario("User provides Protocol Buffer input") { diff --git a/src/test/scala/firrtlTests/stage/FirrtlOptionsViewSpec.scala b/src/test/scala/firrtlTests/stage/FirrtlOptionsViewSpec.scala index cf8bfb26..91594c1b 100644 --- a/src/test/scala/firrtlTests/stage/FirrtlOptionsViewSpec.scala +++ b/src/test/scala/firrtlTests/stage/FirrtlOptionsViewSpec.scala @@ -7,7 +7,7 @@ import org.scalatest.{FlatSpec, Matchers} import firrtl.options._ import firrtl.stage._ -import firrtl.{CircuitForm, CircuitState, ir, NoneCompiler, Parser, UnknownForm} +import firrtl.{ir, NoneCompiler, Parser} import firrtl.options.Viewer.view import firrtl.stage.{FirrtlOptions, FirrtlOptionsView} @@ -24,8 +24,6 @@ class FirrtlOptionsViewSpec extends FlatSpec with Matchers { | node x = UInt<1>("h0") |""".stripMargin - val corge: String = circuitString("corge") - val grault: ir.Circuit = Parser.parse(circuitString("grault")) val annotations = Seq( @@ -49,7 +47,6 @@ class FirrtlOptionsViewSpec extends FlatSpec with Matchers { * behavior, only that modifications to existing code will not change behavior that people may expect. */ it should "overwrite or append to earlier annotation information with later annotation information" in { - val corge_ = circuitString("xyzzy_") val grault_ = Parser.parse(circuitString("thud_")) val overwrites = Seq( |
