We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37babc5 commit 59fb67eCopy full SHA for 59fb67e
spring-expression/src/test/java/org/springframework/expression/spel/standard/SpelParserTests.java
@@ -382,8 +382,7 @@ public void numerics() {
382
383
checkNumberError("3.4L", SpelMessage.REAL_CANNOT_BE_LONG);
384
385
- // Number is parsed as a float, but immediately promoted to a double
386
- checkNumber("3.5f", 3.5d, Double.class);
+ checkNumber("3.5f", 3.5f, Float.class);
387
388
checkNumber("1.2e3", 1.2e3d, Double.class);
389
checkNumber("1.2e+3", 1.2e3d, Double.class);
0 commit comments