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-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 9bcd8ed37 [LANG-1806] NumberUtils.isParsable("1.f") should return true
9bcd8ed37 is described below
commit 9bcd8ed37017818f64fa4f2a6fe65540435da44e
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 29 13:45:09 2025 +0000
[LANG-1806] NumberUtils.isParsable("1.f") should return true
Add test TODOs
---
src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
index 9af9b014c..528039c9c 100644
--- a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
@@ -1030,6 +1030,10 @@ void testIsParsable() {
assertTrue(NumberUtils.isParsable("2."));
// TODO assertTrue(NumberUtils.isParsable("2.f"));
// TODO assertTrue(NumberUtils.isParsable("2.d"));
+ // Float.parseFloat("1.2e-5f")
+ // TODO assertTrue(NumberUtils.isParsable("1.2e-5f"));
+ // Double.parseDouble("1.2e-5d")
+ // TODO assertTrue(NumberUtils.isParsable("1.2e-5d"));
}
/**