File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ThisBuild / organizationName := "example"
8
8
lazy val root = (project in file(" ." ))
9
9
.settings(
10
10
name := " $name$" ,
11
- libraryDependencies += scalaTest % Test
11
+ libraryDependencies += munit % Test
12
12
)
13
13
14
14
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for instructions on how to publish to Sonatype.
Original file line number Diff line number Diff line change 1
1
import sbt ._
2
2
3
3
object Dependencies {
4
- lazy val scalaTest = " org.scalatest " %% " scalatest " % " 3.2.11 "
4
+ lazy val munit = " org.scalameta " %% " munit " % " 0.7.29 "
5
5
}
Original file line number Diff line number Diff line change 1
1
package example
2
2
3
- import org .scalatest .flatspec .AnyFlatSpec
4
- import org .scalatest .matchers .should .Matchers
5
-
6
- class HelloSpec extends AnyFlatSpec with Matchers {
7
- " The Hello object" should " say hello" in {
8
- Hello .greeting shouldEqual " hello"
3
+ class HelloSpec extends munit.FunSuite {
4
+ test(" say hello" ) {
5
+ assertEquals(Hello .greeting, " hello" )
9
6
}
10
7
}
You can’t perform that action at this time.
0 commit comments