Skip to content

Commit cf2dcac

Browse files
committed
Reformat with scalafmt 3.0.0
1 parent 369559e commit cf2dcac

File tree

26 files changed

+87
-36
lines changed

26 files changed

+87
-36
lines changed

src/sbt-test/scoverage/aggregate-only/partA/src/main/scala/org/scoverage/issue53/part/a/AdderScala.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package org.scoverage.issue53.part.a
22

3-
/**
4-
* Created by Mikhail Kokho on 7/10/2015.
5-
*/
3+
/** Created by Mikhail Kokho on 7/10/2015.
4+
*/
65
object AdderScala {
76

87
def add(x: Int, y: Int) = x + y

src/sbt-test/scoverage/aggregate-only/partB/src/main/scala/org/scoverage/issue53/part/b/SubtractorScala.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
21
package org.scoverage.issue53.part.b
32

4-
/**
5-
* Created by Mikhail Kokho on 7/10/2015.
6-
*/
3+
/** Created by Mikhail Kokho on 7/10/2015.
4+
*/
75
object SubtractorScala {
86

97
def minus(x: Int, y: Int) = x - y

src/sbt-test/scoverage/aggregate-only/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/aggregate/partA/src/main/scala/org/scoverage/issue53/part/a/AdderScala.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package org.scoverage.issue53.part.a
22

3-
/**
4-
* Created by Mikhail Kokho on 7/10/2015.
5-
*/
3+
/** Created by Mikhail Kokho on 7/10/2015.
4+
*/
65
object AdderScala {
76

87
def add(x: Int, y: Int) = x + y

src/sbt-test/scoverage/aggregate/partB/src/main/scala/org/scoverage/issue53/part/b/SubtractorScala.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
21
package org.scoverage.issue53.part.b
32

4-
/**
5-
* Created by Mikhail Kokho on 7/10/2015.
6-
*/
3+
/** Created by Mikhail Kokho on 7/10/2015.
4+
*/
75
object SubtractorScala {
86

97
def minus(x: Int, y: Int) = x - y

src/sbt-test/scoverage/aggregate/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-file-branch/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumBranchPerFile := 80
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-file-branch/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-file-stmt/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumStmtPerFile := 90
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-file-stmt/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-package-branch/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumBranchPerPackage := 80
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-package-branch/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-package-stmt/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumStmtPerPackage := 80
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-package-stmt/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-total-branch/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumBranchTotal := 80
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-total-branch/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage-total-stmt/build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ coverageMinimumStmtTotal := 80
99
coverageFailOnMinimum := true
1010

1111
resolvers ++= {
12-
if (sys.props.get("plugin.version").map(_.endsWith("-SNAPSHOT")).getOrElse(false)) Seq(Resolver.sonatypeRepo("snapshots"))
12+
if (
13+
sys.props
14+
.get("plugin.version")
15+
.map(_.endsWith("-SNAPSHOT"))
16+
.getOrElse(false)
17+
) Seq(Resolver.sonatypeRepo("snapshots"))
1318
else Seq.empty
1419
}

src/sbt-test/scoverage/bad-coverage-total-stmt/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/bad-coverage/src/main/scala/BadCoverage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ object BadCoverage {
77
def mult(num1: Int, num2: Int) = {
88
num1 * num2
99
}
10-
}
10+
}

src/sbt-test/scoverage/coverage-off/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/good-coverage/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/preserve-set/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/scalac-plugin-version/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/scalajs/project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ val pluginVersion = sys.props.getOrElse(
22
"plugin.version",
33
throw new RuntimeException(
44
"""|The system property 'plugin.version' is not defined.
5-
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin))
5+
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
6+
)
7+
)
68

79
addSbtPlugin("org.scoverage" % "sbt-scoverage" % pluginVersion)
810

src/sbt-test/scoverage/scalajs/sjstest/shared/src/main/scala/UnderTest.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
object UnderTest {
32
def onJsAndJvm: String = "js and jvm"
43

0 commit comments

Comments
 (0)