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-cli.git

commit 95f2d837bccc4f833f9ec27e9bdd825e6fb72e94
Author: Gary D. Gregory <[email protected]>
AuthorDate: Tue Oct 7 08:57:23 2025 -0400

    Javadoc
    
    Reduce vertical whitespace
---
 src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java 
b/src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java
index 315ff0e3..7bef913b 100644
--- a/src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java
+++ b/src/test/java/org/apache/commons/cli/bug/BugCLI252Test.java
@@ -37,9 +37,7 @@ class BugCLI252Test {
 
     @Test
     void testAmbiquousOptionName() {
-        assertThrows(AmbiguousOptionException.class, () ->
-                new DefaultParser().parse(getOptions(), new String[]{"--pref"})
-        );
+        assertThrows(AmbiguousOptionException.class, () -> new 
DefaultParser().parse(getOptions(), new String[] { "--pref" }));
     }
 
     @Test

Reply via email to