diff options
| author | Adam Izraelevitz | 2016-06-09 14:42:06 -0700 |
|---|---|---|
| committer | GitHub | 2016-06-09 14:42:06 -0700 |
| commit | 77f190e0ad3cce4fe379bbee80fcae6bc05b3558 (patch) | |
| tree | 26af299c41cd45b727b6d955c75433f830d78d30 /src/test/scala/firrtlTests/UnitTests.scala | |
| parent | 7feb5711cd1d505ccf816ab3e31a7cc876ab9560 (diff) | |
| parent | 7d1202e1dfe00773be6e04fb7877ac084c7a7603 (diff) | |
Merge branch 'master' into update-spec
Diffstat (limited to 'src/test/scala/firrtlTests/UnitTests.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/UnitTests.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/UnitTests.scala b/src/test/scala/firrtlTests/UnitTests.scala index cee2c15d..98693c61 100644 --- a/src/test/scala/firrtlTests/UnitTests.scala +++ b/src/test/scala/firrtlTests/UnitTests.scala @@ -60,7 +60,7 @@ class UnitTests extends FirrtlFlatSpec { | input y: {a : UInt<1>} | output x: {a : UInt<1>, b : UInt<1>} | x <= y""".stripMargin - intercept[PassExceptions] { + intercept[CheckTypes.InvalidConnect] { passes.foldLeft(parse(input)) { (c: Circuit, p: Pass) => p.run(c) } @@ -82,7 +82,7 @@ class UnitTests extends FirrtlFlatSpec { | wire x : { valid : UInt<1> } | reg y : { valid : UInt<1>, bits : UInt<3> }, clk with : | reset => (reset, x)""".stripMargin - intercept[PassExceptions] { + intercept[CheckTypes.InvalidRegInit] { passes.foldLeft(parse(input)) { (c: Circuit, p: Pass) => p.run(c) } |
