mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1698 FIX for IAE "key can't be empty" in System.getProperty()
That is, assertEquals("${}", PropertyEval.eval("${}"));
... for when we load properties that include the "${}" placeholder
This commit is contained in:
@@ -33,6 +33,11 @@ public class PropertyEvalTest {
|
||||
System.clearProperty("foo");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void eval_emptyPlaceholder() {
|
||||
assertEquals("${}", PropertyEval.eval("${}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void eval_singleExpression_withDefault() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user