summaryrefslogtreecommitdiff
path: root/src/test/scala
diff options
context:
space:
mode:
authorJim Lawson2016-07-27 10:36:55 -0700
committerJim Lawson2016-07-27 10:36:55 -0700
commit138329479914ac37b49a5a44841dc1de2929dca5 (patch)
tree0b539d74e3176853fe384a38cfc9a1dfa5e2bf31 /src/test/scala
parent089987c3e0b2bc390935a4d9d44db38a18c47901 (diff)
More compatibility fixes
Diffstat (limited to 'src/test/scala')
-rw-r--r--src/test/scala/chiselTests/Direction.scala2
-rw-r--r--src/test/scala/chiselTests/IOCompatibility.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/Direction.scala b/src/test/scala/chiselTests/Direction.scala
index 83484a64..949b92ed 100644
--- a/src/test/scala/chiselTests/Direction.scala
+++ b/src/test/scala/chiselTests/Direction.scala
@@ -31,7 +31,7 @@ class DirectionSpec extends ChiselPropSpec with ShouldMatchers {
}
property("Inputs should not be assignable") {
- a[ChiselException] should be thrownBy {
+ a[Exception] should be thrownBy {
elaborate(new BadDirection)
}
}
diff --git a/src/test/scala/chiselTests/IOCompatibility.scala b/src/test/scala/chiselTests/IOCompatibility.scala
index b904d77e..edbd3d09 100644
--- a/src/test/scala/chiselTests/IOCompatibility.scala
+++ b/src/test/scala/chiselTests/IOCompatibility.scala
@@ -2,7 +2,7 @@
package chiselTests
-import chisel3._
+import Chisel._
class IOCSimpleIO extends Bundle {
val in = UInt(INPUT, 32)