Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scalafix 0.11.0 #348

Merged
merged 1 commit into from
Jun 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt._

object Dependencies {
val x = List(1) // scalafix:ok
def scalafixVersion: String = "0.10.4+78-f6b8c84d-SNAPSHOT"
def scalafixVersion: String = "0.11.0"

val all = List(
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.1.202206130422-r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class SbtCompletionsSuite extends AnyFunSuite {
| Inserts explicit tuples for adapted argument lists for compatibility with -Yno-adapted-args
|NoValInForComprehension
| Removes deprecated val inside for-comprehension binders
|OrganizeImports
|ProcedureSyntax
| Replaces deprecated procedure syntax with explicit ': Unit ='
|RedundantSyntax
Expand Down
3 changes: 2 additions & 1 deletion src/test/scala/scalafix/internal/sbt/ScalafixAPISuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import org.scalatest.funsuite.AnyFunSuite

import scala.util.Properties

@org.scalatest.Ignore
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class ScalafixAPISuite extends AnyFunSuite {

def assertNoDiff(obtained: String, expected: String)(implicit
Expand All @@ -34,7 +35,7 @@ class ScalafixAPISuite extends AnyFunSuite {
val interface = ScalafixInterface
.fromToolClasspath(
"2.12",
List("ch.epfl.scala" %% "example-scalafix-rule" % "2.0.0-RC1"),
List("ch.epfl.scala" %% "example-scalafix-rule" % "3.0.0"),
Seq(
Repository.central,
MavenRepository.of(
Expand Down
Loading