Github user cestella commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/457#discussion_r101838232
--- Diff:
metron-platform/metron-common/src/test/java/org/apache/metron/common/stellar/StellarTest.java
---
@@ -288,6 +289,26 @@ public void testIfThenElse() {
}
@Test
+ public void testInNotIN(){
+ HashMap variables = new HashMap<>();
+ boolean thrown = false;
+ try{
+ run("in in ['','in']" ,variables );
--- End diff --
We could probably `Assert.assertFalse((boolean)run("in in ['', 'in']",
variables))` and ensure expected behavior. Similarly for the other case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---