This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-scripting-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 9dbbe1a  Format Groovy IT scripts
9dbbe1a is described below

commit 9dbbe1a9af28522e8397faf00d920f5211069046
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 20:43:46 2026 +0000

    Format Groovy IT scripts
    
    Formatting only: the CONVERSION-phase AST of every file is unchanged. See 
https://github.com/apache/maven-invoker-plugin/issues/811.
---
 src/it/mrm/repository/mscripting-8.jar/script.groovy |  2 +-
 src/it/projects/java-script/verify.groovy            | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/it/mrm/repository/mscripting-8.jar/script.groovy 
b/src/it/mrm/repository/mscripting-8.jar/script.groovy
index a77c5f8..11a07e5 100644
--- a/src/it/mrm/repository/mscripting-8.jar/script.groovy
+++ b/src/it/mrm/repository/mscripting-8.jar/script.groovy
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
- 
+
 assert true
\ No newline at end of file
diff --git a/src/it/projects/java-script/verify.groovy 
b/src/it/projects/java-script/verify.groovy
index 0124f7a..8adbc98 100644
--- a/src/it/projects/java-script/verify.groovy
+++ b/src/it/projects/java-script/verify.groovy
@@ -1,5 +1,5 @@
-import java.io.*;
-import java.nio.file.*;
+import java.io.*
+import java.nio.file.*
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -20,7 +20,7 @@ import java.nio.file.*;
  * under the License.
  */
 
-File file = new File( basedir, "build.log" );
-if ( ! new String( Files.readAllBytes( file.toPath() ) ).contains( 
"87java-script" ) ) {
-    throw new IllegalArgumentException( "invalid output" );
+File file = new File(basedir, "build.log")
+if (! new String(Files.readAllBytes(file.toPath())).contains("87java-script")) 
{
+    throw new IllegalArgumentException("invalid output")
 }

Reply via email to