djanand commented on a change in pull request #1422:
URL: https://github.com/apache/cassandra/pull/1422#discussion_r828824554



##########
File path: 
test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java
##########
@@ -821,8 +821,7 @@ public void testAlterTableAddColWithIfNotExists() throws 
Throwable
     public void testAlterTableAddExistingColumnWithoutIfExists()
     {
         createTable("CREATE TABLE %s (a int, b int, PRIMARY KEY (a, b)); ");
-        assertAlterTableThrowsException(InvalidRequestException.class,
-                                        String.format("Column with name '%s' 
already exists", "a"), "ALTER TABLE IF EXISTS %s ADD a int");
+        assertAlterTableThrowsException(InvalidRequestException.class, 
String.format("Column with name '%s' already exists", "a"), "ALTER TABLE IF 
EXISTS %s ADD a int");

Review comment:
       Sorry for the misunderstanding. I should have gone through the C* code 
style templates better. Will keep this in mind and review code-styles. Fixed it 
in the latest commit. Agree it a nit, but I think it's good to follow the 
correct way of doing it. Appreciate it. 




-- 
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]

Reply via email to