summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Printf.scala
diff options
context:
space:
mode:
authorducky2015-12-10 16:22:59 -0800
committerducky2016-01-30 14:45:55 -0800
commit898efea92e9e13775b39dd7fb92cac420334b9c9 (patch)
treebb7cdb52fbfe90c44de5846f5175b27d894e3b27 /src/test/scala/chiselTests/Printf.scala
parent8d8c407c0c1693160d6f0972165e376e09aa99c9 (diff)
Add BlackBox support and test, refactor execute => assertTesterPasses
Diffstat (limited to 'src/test/scala/chiselTests/Printf.scala')
-rw-r--r--src/test/scala/chiselTests/Printf.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/Printf.scala b/src/test/scala/chiselTests/Printf.scala
index 2e26dfbf..950f315a 100644
--- a/src/test/scala/chiselTests/Printf.scala
+++ b/src/test/scala/chiselTests/Printf.scala
@@ -21,9 +21,9 @@ class MultiPrintfTester() extends BasicTester {
class PrintfSpec extends ChiselFlatSpec {
"A printf with a single argument" should "run" in {
- assert(execute{ new SinglePrintfTester })
+ assertTesterPasses { new SinglePrintfTester }
}
"A printf with multiple arguments" should "run" in {
- assert(execute{ new MultiPrintfTester })
+ assertTesterPasses { new MultiPrintfTester }
}
}