diff options
| author | Jim Lawson | 2020-04-13 17:24:14 -0700 |
|---|---|---|
| committer | GitHub | 2020-04-13 17:24:14 -0700 |
| commit | cec050dbd898b9d1f5ce4d4558af33c7e799b7a9 (patch) | |
| tree | aa189489bf495a01eea59d7b5d7cda74c4d51320 /src/test/scala/chiselTests/PrintableSpec.scala | |
| parent | a39d0e13792e63e0bd3e0c1b0b9c27e309927a52 (diff) | |
Update scalatest to 3.1.0 (#1394)
Co-authored-by: Scala Steward <me@scala-steward.org>
Diffstat (limited to 'src/test/scala/chiselTests/PrintableSpec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/PrintableSpec.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/PrintableSpec.scala b/src/test/scala/chiselTests/PrintableSpec.scala index 4ecc073e..3fa77072 100644 --- a/src/test/scala/chiselTests/PrintableSpec.scala +++ b/src/test/scala/chiselTests/PrintableSpec.scala @@ -2,12 +2,13 @@ package chiselTests -import org.scalatest.{FlatSpec, Matchers} import chisel3._ import chisel3.testers.BasicTester +import org.scalatest.flatspec.AnyFlatSpec +import org.scalatest.matchers.should.Matchers /* Printable Tests */ -class PrintableSpec extends FlatSpec with Matchers { +class PrintableSpec extends AnyFlatSpec with Matchers { // This regex is brittle, it specifically finds the clock and enable signals followed by commas private val PrintfRegex = """\s*printf\(\w+, [^,]+,(.*)\).*""".r private val StringRegex = """([^"]*)"(.*?)"(.*)""".r |
