summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/OptionBundle.scala
diff options
context:
space:
mode:
authorAndrew Waterman2016-02-04 00:00:19 -0800
committerAndrew Waterman2016-02-04 00:00:19 -0800
commit62fa95acc5d3d301fe461c5844c29d0c75ca6a5d (patch)
tree89893f19fba9aacc7e18ba8013b428e9f1e03482 /src/test/scala/chiselTests/OptionBundle.scala
parent7fc2ea6a14da441db9c47d094361fea07436f6d3 (diff)
parentc5240a3bfe1c05a206c7c34c3c7c5007bbcc3680 (diff)
Merge branch 'blackbox't push origin master
Diffstat (limited to 'src/test/scala/chiselTests/OptionBundle.scala')
-rw-r--r--src/test/scala/chiselTests/OptionBundle.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/chiselTests/OptionBundle.scala b/src/test/scala/chiselTests/OptionBundle.scala
index 0e6beb86..c5a347e6 100644
--- a/src/test/scala/chiselTests/OptionBundle.scala
+++ b/src/test/scala/chiselTests/OptionBundle.scala
@@ -46,12 +46,12 @@ class InvalidOptionBundleTester() extends BasicTester {
class OptionBundleSpec extends ChiselFlatSpec {
"A Bundle with an Option field" should "work properly if the Option field is not None" in {
- assert(execute { new SomeOptionBundleTester(true) })
- assert(execute { new SomeOptionBundleTester(false) })
+ assertTesterPasses { new SomeOptionBundleTester(true) }
+ assertTesterPasses { new SomeOptionBundleTester(false) }
}
"A Bundle with an Option field" should "compile if the Option field is None" in {
- assert(execute { new NoneOptionBundleTester() })
+ assertTesterPasses { new NoneOptionBundleTester() }
}
"A Bundle with an Option field" should "assert out accessing a None Option field" in {