Skip to content

Commit 9bb4038

Browse files
[autofix.ci] apply automated fixes
1 parent bda67ee commit 9bb4038

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

example/groovylib/basic/1-simple/build.mill

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object foo extends GroovyModule {
1010
mvn"org.apache.groovy:groovy-cli-commons", // BOM already loaded by module
1111
mvn"org.apache.groovy:groovy-xml" // BOM already loaded by module
1212
)
13-
13+
1414
def mainClass = Some("foo.Foo")
1515

1616
object test extends GroovyTests with TestModule.Junit5 {
@@ -52,7 +52,7 @@ object foo extends GroovyModule {
5252
//
5353
//// SNIPPET:DEPENDENCIES
5454
//
55-
// This example project uses two third-party dependencies
55+
// This example project uses two third-party dependencies
5656
// - Groovy-Cli-Commons for CLI argument parsing
5757
// - Groovy-Xml for HTML templating and escaping
5858
// and uses them to wrap a given input string in HTML templates with proper escaping.

example/groovylib/testing/1-java-spock/build.mill

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ object `package` extends JavaMavenModuleWithGroovyTests {
1010
def jupiterVersion = "5.13.4"
1111
}
1212
}
13-

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)