From 232e7bcf6911e198c6ae3d231bab9a29b7ef7f1b Mon Sep 17 00:00:00 2001 From: Gabriele Petronella Date: Fri, 28 Jun 2019 23:01:31 +0200 Subject: [PATCH] Use Scalafmt 2.0.0 --- build.sbt | 2 +- tests/unit/src/test/scala/tests/FormattingSlowSuite.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 488443d6ee8..d08348cf903 100644 --- a/build.sbt +++ b/build.sbt @@ -145,7 +145,7 @@ lazy val V = new { val bloop = "1.3.2" val sbtBloop = bloop val gradleBloop = bloop - val scalafmt = "2.0.0-RC4" + val scalafmt = "2.0.0" // List of supported Scala versions in SemanticDB. Needs to be manually updated // for every SemanticDB upgrade. def supportedScalaVersions = diff --git a/tests/unit/src/test/scala/tests/FormattingSlowSuite.scala b/tests/unit/src/test/scala/tests/FormattingSlowSuite.scala index 5d41b956f18..b6de5473ae4 100644 --- a/tests/unit/src/test/scala/tests/FormattingSlowSuite.scala +++ b/tests/unit/src/test/scala/tests/FormattingSlowSuite.scala @@ -316,7 +316,7 @@ object FormattingSlowSuite extends BaseSlowSuite("formatting") { ) assertNoDiff( client.workspaceDiagnostics, - """|.scalafmt.conf:1:1: error: missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.0.0-RC4'. + """|.scalafmt.conf:1:1: error: missing setting 'version'. To fix this problem, add the following line to .scalafmt.conf: 'version=2.0.0'. |maxColumn=40 |^^^^^^^^^^^^ |""".stripMargin