diff --git a/sbt-test/SyntacticOrganizeImports/test-1/expect.json b/sbt-test/SyntacticOrganizeImports/test-1/expect.json index b9b985b..0c56024 100644 --- a/sbt-test/SyntacticOrganizeImports/test-1/expect.json +++ b/sbt-test/SyntacticOrganizeImports/test-1/expect.json @@ -1,34 +1,34 @@ [{ "message": "[SyntacticOrganizeImports] there is empty line in top level imports", "position": { - "line": 3, + "line": 4, "lineContent": "", "sourcePath": "${BASE}/A.scala", - "startLine": 3, + "startLine": 4, "startColumn": 0, - "endLine": 4, + "endLine": 5, "endColumn": 0 } }, { "message": "[SyntacticOrganizeImports] there is empty line in top level imports", "position": { - "line": 5, + "line": 6, "lineContent": "", "sourcePath": "${BASE}/A.scala", - "startLine": 5, + "startLine": 6, "startColumn": 0, - "endLine": 6, + "endLine": 7, "endColumn": 0 } }, { "message": "[SyntacticOrganizeImports] there is empty line in top level imports", "position": { - "line": 6, + "line": 7, "lineContent": "", "sourcePath": "${BASE}/A.scala", - "startLine": 6, + "startLine": 7, "startColumn": 0, - "endLine": 7, + "endLine": 8, "endColumn": 0 } }] diff --git a/sbt-test/SyntacticOrganizeImports/test-1/project/plugins.sbt b/sbt-test/SyntacticOrganizeImports/test-1/project/plugins.sbt index eb878db..1de060c 100644 --- a/sbt-test/SyntacticOrganizeImports/test-1/project/plugins.sbt +++ b/sbt-test/SyntacticOrganizeImports/test-1/project/plugins.sbt @@ -1,2 +1,2 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % sys.props("scalafix.version")) -addSbtPlugin("com.github.xuwei-k" % "warning-diff-scalafix-plugin" % "0.4.2") +addSbtPlugin("com.github.xuwei-k" % "warning-diff-scalafix-plugin" % "0.4.4") diff --git a/sbt-test/UnmooredDocComment/test-1/expect.json b/sbt-test/UnmooredDocComment/test-1/expect.json index d310334..323998f 100644 --- a/sbt-test/UnmooredDocComment/test-1/expect.json +++ b/sbt-test/UnmooredDocComment/test-1/expect.json @@ -1,56 +1,56 @@ [{ "message": "[UnmooredDocComment] unmoored doc comment for `Pkg`", "position": { - "line": 0, + "line": 1, "lineContent": "/** pkg */", "sourcePath": "${BASE}/A.scala", - "startLine": 0, + "startLine": 1, "startColumn": 0, - "endLine": 0, + "endLine": 1, "endColumn": 10 } }, { "message": "[UnmooredDocComment] unmoored doc comment for `Term.Param`", "position": { - "line": 5, + "line": 6, "lineContent": " /** xxx */", "sourcePath": "${BASE}/A.scala", - "startLine": 5, + "startLine": 6, "startColumn": 2, - "endLine": 5, + "endLine": 6, "endColumn": 12 } }, { "message": "[UnmooredDocComment] unmoored doc comment for `Case`", "position": { - "line": 15, + "line": 16, "lineContent": " /** ccc */", "sourcePath": "${BASE}/A.scala", - "startLine": 15, + "startLine": 16, "startColumn": 8, - "endLine": 15, + "endLine": 16, "endColumn": 18 } }, { "message": "[UnmooredDocComment] unmoored doc comment for `Term.ForYield`", "position": { - "line": 21, + "line": 22, "lineContent": " /** zzz */", "sourcePath": "${BASE}/A.scala", - "startLine": 21, + "startLine": 22, "startColumn": 4, - "endLine": 21, + "endLine": 22, "endColumn": 14 } }, { "message": "[UnmooredDocComment] unmoored doc comment for `Enumerator.Generator`", "position": { - "line": 23, + "line": 24, "lineContent": " /** sss */", "sourcePath": "${BASE}/A.scala", - "startLine": 23, + "startLine": 24, "startColumn": 6, - "endLine": 23, + "endLine": 24, "endColumn": 16 } }] diff --git a/sbt-test/UnmooredDocComment/test-1/project/plugins.sbt b/sbt-test/UnmooredDocComment/test-1/project/plugins.sbt index eb878db..1de060c 100644 --- a/sbt-test/UnmooredDocComment/test-1/project/plugins.sbt +++ b/sbt-test/UnmooredDocComment/test-1/project/plugins.sbt @@ -1,2 +1,2 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % sys.props("scalafix.version")) -addSbtPlugin("com.github.xuwei-k" % "warning-diff-scalafix-plugin" % "0.4.2") +addSbtPlugin("com.github.xuwei-k" % "warning-diff-scalafix-plugin" % "0.4.4")