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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-exec.git


The following commit(s) were added to refs/heads/master by this push:
     new 433de015 Camel-case
433de015 is described below

commit 433de0152ad9b53682562167c17310afe685a2ec
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Mar 12 16:24:09 2025 -0400

    Camel-case
---
 src/test/java/org/apache/commons/exec/CommandLineTest.java   | 8 ++++----
 src/test/java/org/apache/commons/exec/issues/Exec36Test.java | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/test/java/org/apache/commons/exec/CommandLineTest.java 
b/src/test/java/org/apache/commons/exec/CommandLineTest.java
index e2f290ab..7939ce60 100644
--- a/src/test/java/org/apache/commons/exec/CommandLineTest.java
+++ b/src/test/java/org/apache/commons/exec/CommandLineTest.java
@@ -392,9 +392,9 @@ public class CommandLineTest {
      */
     @Test
     public void testParseComplexCommandLine2() {
-        final String commandline = "./script/jrake cruise:publish_installers " 
+ "INSTALLER_VERSION=unstable_2_1 "
+        final String commandLine = "./script/jrake cruise:publish_installers " 
+ "INSTALLER_VERSION=unstable_2_1 "
                 + "INSTALLER_PATH=\"/var/lib/ cruise-agent/installers\" " + 
"INSTALLER_DOWNLOAD_SERVER=\'something\' " + "WITHOUT_HELP_DOC=true";
-        final CommandLine cmdl = CommandLine.parse(commandline);
+        final CommandLine cmdl = CommandLine.parse(commandLine);
         final String[] args = cmdl.getArguments();
         assertEquals(args[0], "cruise:publish_installers");
         assertEquals(args[1], "INSTALLER_VERSION=unstable_2_1");
@@ -411,9 +411,9 @@ public class CommandLineTest {
     @Test
     public void testParseRealLifeCommandLine_1() {
 
-        final String commandline = "cmd.exe /C \"c:\\was51\\Web 
Sphere\\AppServer\\bin\\versionInfo.bat\"";
+        final String commandLine = "cmd.exe /C \"c:\\was51\\Web 
Sphere\\AppServer\\bin\\versionInfo.bat\"";
 
-        final CommandLine cmdl = CommandLine.parse(commandline);
+        final CommandLine cmdl = CommandLine.parse(commandLine);
         final String[] args = cmdl.getArguments();
         assertEquals("/C", args[0]);
         assertEquals("\"c:\\was51\\Web 
Sphere\\AppServer\\bin\\versionInfo.bat\"", args[1]);
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec36Test.java 
b/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
index 3e343b53..6eb62845 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
@@ -98,9 +98,9 @@ public class Exec36Test {
     @Disabled
     public void _testExec36_6() {
 
-        final String commandline = "C:\\CVS_DB\\WeightsEngine /f 
WeightsEngine.mak CFG=\"WeightsEngine - Win32Release\"";
+        final String commandLine = "C:\\CVS_DB\\WeightsEngine /f 
WeightsEngine.mak CFG=\"WeightsEngine - Win32Release\"";
 
-        final CommandLine cmdl = CommandLine.parse(commandline);
+        final CommandLine cmdl = CommandLine.parse(commandLine);
         final String[] args = cmdl.getArguments();
         assertEquals("/f", args[0]);
         assertEquals("WeightsEngine.mak", args[1]);

Reply via email to