Skip to content

Commit 43fc69f

Browse files
committed
remove -source:3.0-migration
1 parent 3110bf7 commit 43fc69f

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

build.sbt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ scalacOptions ++= {
3737
}
3838
}
3939

40-
Test / scalacOptions ++= {
41-
if (scalaBinaryVersion.value == "3") {
42-
Seq("-source:3.0-migration")
43-
} else {
44-
Nil
45-
}
46-
}
47-
4840
Test / fork := true
4941

5042
Test / publishArtifact := false

src/test/scala/com/github/takezoe/slick/blocking/SlickBlockingAPISpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SlickBlockingAPISpecH2
1717
extends SlickBlockingAPISpec(
1818
BlockingH2Driver
1919
) {
20-
protected override val db = Tables.profile.blockingApi.Database.forURL("jdbc:h2:mem:test;TRACE_LEVEL_FILE=4")
20+
protected override lazy val db = Tables.profile.blockingApi.Database.forURL("jdbc:h2:mem:test;TRACE_LEVEL_FILE=4")
2121
}
2222

2323
class SlickBlockingAPISpecMySQL56 extends SlickBlockingAPISpecMySQL("5.6")
@@ -50,7 +50,7 @@ abstract class SlickBlockingAPISpec(p: BlockingJdbcProfile) extends AnyFunSuite
5050
import Tables.profile.blockingApi._
5151
import Tables._
5252

53-
protected val db: Tables.profile.api.Database
53+
protected def db: Tables.profile.api.Database
5454

5555
private final def testWithSession[A](f: Tables.profile.blockingApi.Session => A): A = {
5656
db.withSession { implicit session =>

0 commit comments

Comments
 (0)