aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/CheckSpec.scala
diff options
context:
space:
mode:
authorazidar2016-05-24 10:17:51 -0700
committerjackkoenig2016-05-24 10:42:18 -0700
commitf9e8895b73aeec9bb71449f8e3d0e6f7e7a0a478 (patch)
tree1b9384689555f4625ad7c24279a35b74071707ad /src/test/scala/firrtlTests/CheckSpec.scala
parent243ff24f8eb9aae18bb0c7afe4f4c1e6cd66c084 (diff)
Added Errors class and fixed tests.
Canonicalizes catching/throwing PassExceptions.
Diffstat (limited to 'src/test/scala/firrtlTests/CheckSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/CheckSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/firrtlTests/CheckSpec.scala b/src/test/scala/firrtlTests/CheckSpec.scala
index ea0767bb..5c1b1a67 100644
--- a/src/test/scala/firrtlTests/CheckSpec.scala
+++ b/src/test/scala/firrtlTests/CheckSpec.scala
@@ -19,7 +19,7 @@ class CheckSpec extends FlatSpec with Matchers {
| depth => 32
| read-latency => 0
| write-latency => 1""".stripMargin
- intercept[PassExceptions] {
+ intercept[CheckHighForm.MemWithFlipException] {
passes.foldLeft(Parser.parse(input.split("\n").toIterator)) {
(c: Circuit, p: Pass) => p.run(c)
}