File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,18 @@ dependencies {
5151 val junitPlatformVersion = " 1.6.0"
5252 val junitJupiterVersion = " 5.7.0"
5353
54+ val testScalaLibraryVersion = " 2.13"
55+ val testScalaVersion = " $testScalaLibraryVersion .4"
56+
5457 compileOnly(" org.junit.platform:junit-platform-engine:$junitPlatformVersion " )
5558 compileOnly(" org.scalatest:scalatest_2.11:3.3.0-SNAP3" )
5659
5760 testImplementation(" org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion " )
5861 testImplementation(" org.junit.platform:junit-platform-launcher:$junitPlatformVersion " )
5962 testImplementation(" org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion " )
6063 testImplementation(" org.junit.platform:junit-platform-engine:1.6.0" )
61- testImplementation(" org.scalatest:scalatest_2.11 :3.2.0" )
62- testImplementation(" org.scala-lang:scala-library:2.11.12 " )
64+ testImplementation(" org.scalatest:scalatest_ $testScalaLibraryVersion :3.2.0" )
65+ testImplementation(" org.scala-lang:scala-library:$testScalaVersion " )
6366 testImplementation(" org.mockito:mockito-core:3.7.0" )
6467}
6568
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import org.scalatest.funsuite.AnyFunSuite
66
77class FailInAfterAllTest extends AnyFunSuite with BeforeAndAfterAll with RegisterCall {
88
9- override def afterAll () {
9+ override def afterAll (): Unit = {
1010 register(" after" )
1111 fail()
1212 }
You can’t perform that action at this time.
0 commit comments