File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
src/test/scala/com/fortysevendeg/exercises Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1919
2020package org .scalaexercises .runtime
2121
22- import org .scalatest ._
22+ import org .scalatest .flatspec .AnyFlatSpec
23+ import org .scalatest .matchers .should .Matchers
2324
24- object ExampleTarget extends FlatSpec with Matchers {
25+ object ExampleTarget extends AnyFlatSpec with Matchers {
2526 def intStringMethod (a : Int , b : String ): String =
2627 s " $a$b"
2728
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ package org.scalaexercises.runtime
2121
2222import org .scalaexercises .runtime .model .Exercise
2323
24- import org .scalatest ._
24+ import org .scalatest .funspec .AnyFunSpec
25+ import org .scalatest .matchers .should .Matchers
2526
26- class LibraryDiscoverySpec extends FunSpec with Matchers {
27+ class LibraryDiscoverySpec extends AnyFunSpec with Matchers {
2728
2829 import org .scalaexercises .content ._
2930
Original file line number Diff line number Diff line change 1919
2020package org .scalaexercises .runtime
2121
22- import org .scalatest ._
22+ import org .scalatest .funspec .AnyFunSpec
23+ import org .scalatest .matchers .should .Matchers
2324
24- class TimestampSpec extends FunSpec with Matchers {
25+ class TimestampSpec extends AnyFunSpec with Matchers {
2526 describe(" Timestamp" ) {
2627 it(" works in both directions" ) {
2728 val date = new java.util.Date ()
You can’t perform that action at this time.
0 commit comments