summaryrefslogtreecommitdiff
path: root/src/test/scala/cookbook/CookbookSpec.scala
diff options
context:
space:
mode:
authorJack Koenig2022-01-10 16:32:51 -0800
committerGitHub2022-01-10 16:32:51 -0800
commit2b48fd15a7711dcd44334fbbc538667a102a581a (patch)
tree4b4766347c3943d65c13e5de2d139b14821eec61 /src/test/scala/cookbook/CookbookSpec.scala
parent92e77a97af986629766ac9038f0ebc8ab9a48fa1 (diff)
parentbff8dc0738adafa1176f6959a33ad86f6373c558 (diff)
Merge pull request #2246 from chipsalliance/scalafmt
Add scalafmt configuration and apply it.
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