Update SpEL test to reflect native float support

Issue: SPR-9486
This commit is contained in:
Chris Beams 2012-10-24 14:27:42 +02:00
parent 37babc5c82
commit 59fb67e38d
1 changed files with 1 additions and 2 deletions

View File

@ -382,8 +382,7 @@ public class SpelParserTests {
checkNumberError("3.4L", SpelMessage.REAL_CANNOT_BE_LONG);
// Number is parsed as a float, but immediately promoted to a double
checkNumber("3.5f", 3.5d, Double.class);
checkNumber("3.5f", 3.5f, Float.class);
checkNumber("1.2e3", 1.2e3d, Double.class);
checkNumber("1.2e+3", 1.2e3d, Double.class);