You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/04/08 13:13:13 UTC
(commons-cli) 03/12: Add missing API test
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 248a6cf0fe4437a6ac9daba89c40640027bc1c76
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 8 08:52:05 2024 -0400
Add missing API test
---
src/test/java/org/apache/commons/cli/bug/BugsTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/java/org/apache/commons/cli/bug/BugsTest.java b/src/test/java/org/apache/commons/cli/bug/BugsTest.java
index c8c2aa9..b4dd49f 100644
--- a/src/test/java/org/apache/commons/cli/bug/BugsTest.java
+++ b/src/test/java/org/apache/commons/cli/bug/BugsTest.java
@@ -134,6 +134,9 @@ public class BugsTest {
// 1.7.0 API:
cmd.getOptionValue(optionF, () -> "default f");
cmd.getOptionValue(optionM, () -> "default m");
+ // 1.7.0 API:
+ cmd.getOptionValue('f', () -> "default f");
+ cmd.getOptionValue('m', () -> "default m");
// 1.5.0 API:
cmd.getOptionValue(optionF, "default f");
cmd.getOptionValue(optionM, "default m");