Skip to content

Commit

Permalink
Merge pull request #458 from xuwei-k/Xmigration
Browse files Browse the repository at this point in the history
remove "-Xmigration"
  • Loading branch information
mkurz authored Oct 19, 2023
2 parents ec2c73a + b693b3b commit beaf306
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ lazy val `scalatestplus-play` = project
),
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-encoding", "utf8") ++
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) => Seq("-Xsource:3", "-Xmigration")
case Some((2, 13)) => Seq("-Xsource:3")
case _ => Seq.empty
}),
javacOptions ++= Seq("-encoding", "UTF-8", "-Xlint:-options", "--release", "11"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ConfiguredAppSpec extends UnitSpec with SequentialNestedSuiteExecution wit
}
}

override def nestedSuites = Vector(new NestedSuite)
override def nestedSuites: Vector[NestedSuite] = Vector(new NestedSuite)

override def fakeApplication(): Application = {
GuiceApplicationBuilder().configure("foo" -> "bar").build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import play.api.inject.guice._

class ConfiguredServerSpec extends UnitSpec with SequentialNestedSuiteExecution with GuiceOneServerPerSuite {

override def nestedSuites = Vector(new ConfiguredServerNestedSuite)
override def nestedSuites: Vector[ConfiguredServerNestedSuite] = Vector(new ConfiguredServerNestedSuite)

override def fakeApplication(): Application = {
GuiceApplicationBuilder().configure("foo" -> "bar").build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class ConfiguredServerWithConfiguredBrowserSpec
with OneBrowserPerSuite
with HtmlUnitFactory {

override def nestedSuites = Vector(new ConfiguredServerWithConfiguredBrowserNestedSpec)
override def nestedSuites: Vector[ConfiguredServerWithConfiguredBrowserNestedSpec] =
Vector(new ConfiguredServerWithConfiguredBrowserNestedSpec)

override def fakeApplication(): Application = {
GuiceApplicationBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class OneServerPerSuiteWithConfiguredBrowserSpec
with OneBrowserPerSuite
with HtmlUnitFactory {

override def nestedSuites = Vector(new OneServerPerSuiteWithConfiguredBrowserNestedSpec)
override def nestedSuites: Vector[OneServerPerSuiteWithConfiguredBrowserNestedSpec] =
Vector(new OneServerPerSuiteWithConfiguredBrowserNestedSpec)

override def fakeApplication(): Application = {
GuiceApplicationBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class OneServerPerTestWithConfiguredBrowserSpec
with OneBrowserPerSuite
with HtmlUnitFactory {

override def nestedSuites = Vector(new OneServerPerTestWithConfiguredBrowserNestedSpec)
override def nestedSuites: Vector[OneServerPerTestWithConfiguredBrowserNestedSpec] =
Vector(new OneServerPerTestWithConfiguredBrowserNestedSpec)

override def fakeApplication(): Application = {
GuiceApplicationBuilder()
Expand Down

0 comments on commit beaf306

Please sign in to comment.