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:56 UTC
[commons-jexl] 03/07: JEXL-314: updated test,
attempting triggering gitbox/github sync Task #JEXL-314 -
Comparison NULL values of variables NAME1.NAME2
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 fdda2e292fe7d5d558c6cfa00e56f93367f21764
Author: henrib <he...@apache.org>
AuthorDate: Sun Oct 27 14:24:43 2019 +0100
JEXL-314: updated test, attempting triggering gitbox/github sync
Task #JEXL-314 - Comparison NULL values of variables NAME1.NAME2
---
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 d661a4e..17e910f 100644
--- a/src/test/java/org/apache/commons/jexl3/Issues300Test.java
+++ b/src/test/java/org/apache/commons/jexl3/Issues300Test.java
@@ -265,6 +265,9 @@ public class Issues300Test {
script = jexl.createScript("x.cell()", "x");
result = script.execute(ctxt, Arrays.asList(10, 20));
Assert.assertEquals(42, result);
+ script = jexl.createScript("cell('1', '2')");
+ result = script.execute(ctxt);
+ Assert.assertEquals(2, result);
vars.put("TVALOGAR", null);
String jexlExp = "TVALOGAR==null?'SIMON':'SIMONAZO'";