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 19
19
20
20
package org .scalaexercises .runtime
21
21
22
- import org .scalatest ._
22
+ import org .scalatest .flatspec .AnyFlatSpec
23
+ import org .scalatest .matchers .should .Matchers
23
24
24
- object ExampleTarget extends FlatSpec with Matchers {
25
+ object ExampleTarget extends AnyFlatSpec with Matchers {
25
26
def intStringMethod (a : Int , b : String ): String =
26
27
s " $a$b"
27
28
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ package org.scalaexercises.runtime
21
21
22
22
import org .scalaexercises .runtime .model .Exercise
23
23
24
- import org .scalatest ._
24
+ import org .scalatest .funspec .AnyFunSpec
25
+ import org .scalatest .matchers .should .Matchers
25
26
26
- class LibraryDiscoverySpec extends FunSpec with Matchers {
27
+ class LibraryDiscoverySpec extends AnyFunSpec with Matchers {
27
28
28
29
import org .scalaexercises .content ._
29
30
Original file line number Diff line number Diff line change 19
19
20
20
package org .scalaexercises .runtime
21
21
22
- import org .scalatest ._
22
+ import org .scalatest .funspec .AnyFunSpec
23
+ import org .scalatest .matchers .should .Matchers
23
24
24
- class TimestampSpec extends FunSpec with Matchers {
25
+ class TimestampSpec extends AnyFunSpec with Matchers {
25
26
describe(" Timestamp" ) {
26
27
it(" works in both directions" ) {
27
28
val date = new java.util.Date ()
You can’t perform that action at this time.
0 commit comments