Skip to content

Commit

Permalink
remove -source:3.0-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Aug 31, 2024
1 parent 3110bf7 commit 43fc69f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ scalacOptions ++= {
}
}

Test / scalacOptions ++= {
if (scalaBinaryVersion.value == "3") {
Seq("-source:3.0-migration")
} else {
Nil
}
}

Test / fork := true

Test / publishArtifact := false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SlickBlockingAPISpecH2
extends SlickBlockingAPISpec(
BlockingH2Driver
) {
protected override val db = Tables.profile.blockingApi.Database.forURL("jdbc:h2:mem:test;TRACE_LEVEL_FILE=4")
protected override lazy val db = Tables.profile.blockingApi.Database.forURL("jdbc:h2:mem:test;TRACE_LEVEL_FILE=4")
}

class SlickBlockingAPISpecMySQL56 extends SlickBlockingAPISpecMySQL("5.6")
Expand Down Expand Up @@ -50,7 +50,7 @@ abstract class SlickBlockingAPISpec(p: BlockingJdbcProfile) extends AnyFunSuite
import Tables.profile.blockingApi._
import Tables._

protected val db: Tables.profile.api.Database
protected def db: Tables.profile.api.Database

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

0 comments on commit 43fc69f

Please sign in to comment.