File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ libraryDependencies += "com.github.akiomik" %% "scalatest-csv-table" % "1.0.2" %
2020## Basic usage
2121
2222``` scala
23- import org .scalatest .FlatSpec
23+ import org .scalatest .flatspec . AnyFlatSpec
2424import org .scalatest .prop .TableDrivenPropertyChecks ._
2525
2626import com .github .akiomik .scalatest ._
2727
28- class FizzBuzzSpec extends FlatSpec {
28+ class FizzBuzzSpec extends AnyFlatSpec {
2929
3030 " A FizzBuzz" should " pass tests from a string" in {
3131 val csv =
@@ -64,13 +64,13 @@ Use [`RowDecoder` of kantan.csv](https://nrinaudo.github.io/kantan.csv/rows_as_c
6464
6565``` scala
6666import com .github .akiomik .scalatest ._
67- import org .scalatest .FlatSpec
67+ import org .scalatest .flatspec . AnyFlatSpec
6868import org .scalatest .prop .TableDrivenPropertyChecks ._
6969import kantan .csv ._
7070
7171case class Foo (i : Int , s : String , b : Boolean )
7272
73- class FooSpec extends FlatSpec {
73+ class FooSpec extends AnyFlatSpec {
7474 implicit val decoder = RowDecoder .decoder(0 , 1 , 2 )(Foo .apply _) //
7575
7676 " A Foo" should " pass tests from a string" in {
You can’t perform that action at this time.
0 commit comments