Remove -Xfatal-warnings flag for tests (#2469)

This commit is contained in:
Chris Stewart 2021-01-05 05:57:56 -06:00 committed by GitHub
parent f5dae42761
commit cc2c438da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,10 +123,11 @@ object CommonSettings {
}
def testCompilerOpts(scalaVersion: String): Seq[String] = {
commonCompilerOpts ++
(commonCompilerOpts ++
//initialization checks: https://docs.scala-lang.org/tutorials/FAQ/initialization-order.html
Vector("-Xcheckinit") ++
compilerOpts(scalaVersion)
compilerOpts(scalaVersion))
.filterNot(_ == "-Xfatal-warnings")
}
lazy val testSettings: Seq[Setting[_]] = Seq(