You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2019/10/29 15:57:57 UTC
[commons-jexl] 04/07: JEXL-314: updated test,
attempting triggering gitbox/github sync
This is an automated email from the ASF dual-hosted git repository.
henrib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
commit 5ad16717866b27276c68a333e201fe541fea2001
Author: henrib <he...@apache.org>
AuthorDate: Mon Oct 28 10:50:56 2019 +0100
JEXL-314: updated test, attempting triggering gitbox/github sync
---
src/test/java/org/apache/commons/jexl3/Issues300Test.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/java/org/apache/commons/jexl3/Issues300Test.java b/src/test/java/org/apache/commons/jexl3/Issues300Test.java
index 17e910f..9d84031 100644
--- a/src/test/java/org/apache/commons/jexl3/Issues300Test.java
+++ b/src/test/java/org/apache/commons/jexl3/Issues300Test.java
@@ -268,6 +268,9 @@ public class Issues300Test {
script = jexl.createScript("cell('1', '2')");
result = script.execute(ctxt);
Assert.assertEquals(2, result);
+ script = jexl.createScript("x.cell('1', '2')", "x");
+ result = script.execute(ctxt, Arrays.asList(10, 20));
+ Assert.assertEquals(44, result);
vars.put("TVALOGAR", null);
String jexlExp = "TVALOGAR==null?'SIMON':'SIMONAZO'";