bereng commented on a change in pull request #1380:
URL: https://github.com/apache/cassandra/pull/1380#discussion_r796302629
##########
File path:
test/unit/org/apache/cassandra/cql3/validation/operations/InsertUpdateIfConditionCollectionsTest.java
##########
@@ -498,14 +502,12 @@ public void testWholeList() throws Throwable
check_invalid_list("l >= null", InvalidRequestException.class);
check_invalid_list("l IN null", SyntaxException.class);
check_invalid_list("l IN 367", SyntaxException.class);
- check_invalid_list("l CONTAINS KEY 123", SyntaxException.class);
-
- // not supported yet
- check_invalid_list("m CONTAINS 'bar'", SyntaxException.class);
+ check_invalid_list("l CONTAINS KEY 123",
InvalidRequestException.class);
+ check_invalid_list("l CONTAINS null",
InvalidRequestException.class);
}
}
- void check_applies_list(String condition) throws Throwable
+ void check_applies_list(String condition) throws Throwable
Review comment:
formatting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]