Skip to content

Commit 32f8111

Browse files
[autofix.ci] apply automated fixes
1 parent 022b8f4 commit 32f8111

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

libs/groovylib/test/src/mill/groovylib/HelloGroovyTests.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ object HelloGroovyTests extends TestSuite {
1717

1818
object HelloGroovy extends TestRootModule {
1919

20-
trait GroovyVersionCross extends GroovyModule with Cross.Module[String]{
20+
trait GroovyVersionCross extends GroovyModule with Cross.Module[String] {
2121
override def groovyVersion: Task.Simple[String] = crossValue
2222
}
23-
23+
2424
lazy val millDiscover = Discover[this.type]
2525

2626
// needed for a special test where only the tests are written in Groovy while appcode remains Java
@@ -44,7 +44,7 @@ object HelloGroovyTests extends TestSuite {
4444
*/
4545
object spock extends GroovyModule {
4646
override def groovyVersion: T[String] = groovy4Version
47-
47+
4848
object tests extends GroovyTests with TestModule.Spock {
4949
override def jupiterVersion: T[String] = junit5Version
5050
override def spockVersion: T[String] = spockGroovy4Version
@@ -102,7 +102,7 @@ object HelloGroovyTests extends TestSuite {
102102
override def junitPlatformVersion = "1.13.4"
103103
}
104104
}
105-
object main extends Cross[Test](groovyVersions)
105+
object main extends Cross[Test](groovyVersions)
106106
}
107107

108108
val resourcePath = os.Path(sys.env("MILL_TEST_RESOURCE_DIR")) / "hello-groovy"
@@ -122,7 +122,7 @@ object HelloGroovyTests extends TestSuite {
122122
test("running a Groovy script") {
123123
testEval().scoped { eval =>
124124
main.crossModules.foreach(m => {
125-
val Right(_) = eval.apply(m.script.run()): @unchecked
125+
val Right(_) = eval.apply(m.script.run()): @unchecked
126126
})
127127
}
128128
}

libs/javalib/src/mill/javalib/TestModule.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ object TestModule {
633633
* TestModule that uses Spock Test Framework to run tests.
634634
* You can override the [[spockVersion]] task or provide the Spock dependency yourself.
635635
*
636-
* In case the version is set, it pulls in Spock-BOM in [[bomMvnDeps]] (only for 2.3 onwards)
636+
* In case the version is set, it pulls in Spock-BOM in [[bomMvnDeps]] (only for 2.3 onwards)
637637
* and Spock-Core in [[mvnDeps]]
638638
*/
639639
trait Spock extends TestModule.Junit5 {

0 commit comments

Comments
 (0)