Github user cestella commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/119#discussion_r63099913
--- Diff:
metron-platform/metron-common/src/test/java/org/apache/metron/common/query/QueryParserTest.java
---
@@ -67,6 +67,7 @@ public void testSimpleOps() throws Exception {
Assert.assertTrue(run("foo== foo", v -> variableMap.get(v)));
Assert.assertTrue(run("empty== ''", v -> variableMap.get(v)));
Assert.assertTrue(run("spaced == 'metron is great'", v ->
variableMap.get(v)));
+ Assert.assertTrue(run("", v -> variableMap.get(v)));
--- End diff --
How about a test case for null too?
---
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.
---