Skip to content

Commit ae3b2f9

Browse files
authored
Merge pull request #10 from akiomik/update-example-code
Update example code
2 parents fd32cef + 49bc060 commit ae3b2f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
2424
import org.scalatest.prop.TableDrivenPropertyChecks._
2525

2626
import 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
6666
import com.github.akiomik.scalatest._
67-
import org.scalatest.FlatSpec
67+
import org.scalatest.flatspec.AnyFlatSpec
6868
import org.scalatest.prop.TableDrivenPropertyChecks._
6969
import kantan.csv._
7070

7171
case 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 {

0 commit comments

Comments
 (0)