summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests
diff options
context:
space:
mode:
authorJack Koenig2020-09-21 19:34:43 -0700
committerGitHub2020-09-22 02:34:43 +0000
commit9c4f14fb7347b5ca6afe777a9a4c5d9d15f9ac0d (patch)
treec21b72e902de8cb8660125e8baf39e0c94f8546c /src/test/scala/chiselTests
parentc613c285c3e044370024a1b5cc0a0da1dbc3e5e6 (diff)
Support using switch without importing SwitchContext (#1595)
Diffstat (limited to 'src/test/scala/chiselTests')
-rw-r--r--src/test/scala/chiselTests/SwitchSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/SwitchSpec.scala b/src/test/scala/chiselTests/SwitchSpec.scala
index 79849c76..90287cdd 100644
--- a/src/test/scala/chiselTests/SwitchSpec.scala
+++ b/src/test/scala/chiselTests/SwitchSpec.scala
@@ -4,7 +4,7 @@ package chiselTests
import chisel3._
import chisel3.stage.ChiselStage
-import chisel3.util._
+import chisel3.util.{switch, is}
class SwitchSpec extends ChiselFlatSpec with Utils {
"switch" should "require literal conditions" in {