summaryrefslogtreecommitdiff
path: root/src/test/scala/cookbook/CookbookSpec.scala
diff options
context:
space:
mode:
authorJack2022-01-12 04:27:19 +0000
committerJack2022-01-12 04:27:19 +0000
commit29df513e348cc809876893f650af8180f0190496 (patch)
tree06daaea954b4e5af7113f06e4bdbb78b33515cb3 /src/test/scala/cookbook/CookbookSpec.scala
parent5242ce90659decb9058ee75db56e5c188029fbf9 (diff)
parent747d16311bdf185d2e98e452b14cb5d8ccca004c (diff)
Merge branch 'master' into 3.5-release
Diffstat (limited to 'src/test/scala/cookbook/CookbookSpec.scala')
-rw-r--r--src/test/scala/cookbook/CookbookSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cookbook/CookbookSpec.scala b/src/test/scala/cookbook/CookbookSpec.scala
index c1acc0de..7d6c9726 100644
--- a/src/test/scala/cookbook/CookbookSpec.scala
+++ b/src/test/scala/cookbook/CookbookSpec.scala
@@ -16,7 +16,7 @@ abstract class CookbookTester(length: Int) extends BasicTester {
require(length >= 0, "Simulation length must be non-negative!")
val (cycle, done) = Counter(true.B, length + 1) // + 1 cycle because done is actually wrap
- when (done) { stop() }
+ when(done) { stop() }
}
abstract class CookbookSpec extends ChiselFlatSpec