From cec050dbd898b9d1f5ce4d4558af33c7e799b7a9 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Mon, 13 Apr 2020 17:24:14 -0700 Subject: Update scalatest to 3.1.0 (#1394) Co-authored-by: Scala Steward --- src/test/scala/chiselTests/BlackBoxImpl.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/test/scala/chiselTests/BlackBoxImpl.scala') diff --git a/src/test/scala/chiselTests/BlackBoxImpl.scala b/src/test/scala/chiselTests/BlackBoxImpl.scala index fbfce58b..9871f251 100644 --- a/src/test/scala/chiselTests/BlackBoxImpl.scala +++ b/src/test/scala/chiselTests/BlackBoxImpl.scala @@ -8,7 +8,9 @@ import chisel3._ import chisel3.util.{HasBlackBoxInline, HasBlackBoxResource, HasBlackBoxPath} import firrtl.FirrtlExecutionSuccess import org.scalacheck.Test.Failed -import org.scalatest.{FreeSpec, Matchers, Succeeded} +import org.scalatest.Succeeded +import org.scalatest.freespec.AnyFreeSpec +import org.scalatest.matchers.should.Matchers //scalastyle:off magic.number @@ -87,7 +89,7 @@ class UsesBlackBoxMinusViaPath extends Module { io.out := mod0.io.out } -class BlackBoxImplSpec extends FreeSpec with Matchers { +class BlackBoxImplSpec extends AnyFreeSpec with Matchers { val targetDir = "test_run_dir" "BlackBox can have verilator source implementation" - { "Implementations can be contained in-line" in { -- cgit v1.2.3