SpEL property-not-found message hints at non-public method/field
Issue: SPR-11535
This commit is contained in:
@@ -1783,7 +1783,7 @@ public class SpelReproTests extends ExpressionTestCase {
|
||||
SPR11142 rootObject = new SPR11142();
|
||||
Expression expression = parser.parseExpression("something");
|
||||
thrown.expect(SpelEvaluationException.class);
|
||||
thrown.expectMessage("property 'something' cannot be found");
|
||||
thrown.expectMessage("'something' cannot be found");
|
||||
expression.getValue(context, rootObject);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user