strongduanmu commented on code in PR #20801:
URL: https://github.com/apache/shardingsphere/pull/20801#discussion_r962792112


##########
shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/test/java/org/apache/shardingsphere/sql/parser/sql/dialect/handler/ddl/DropTableStatementHandlerTest.java:
##########
@@ -30,42 +31,52 @@
 public final class DropTableStatementHandlerTest {
     
     @Test
-    public void assertContainsIfExistsForMySQL() {
+    public void assertIfExistsForMySQL() {
         assertTrue(DropTableStatementHandler.ifExists(new 
MySQLDropTableStatement(true)));
+        assertFalse(DropTableStatementHandler.ifExists(new 
MySQLDropTableStatement(false)));
     }
     
     @Test
-    public void assertContainsIfExistsForPostgreSQL() {
+    public void assertIfExistsForPostgreSQL() {
         assertTrue(DropTableStatementHandler.ifExists(new 
PostgreSQLDropTableStatement(true, false)));
+        assertFalse(DropTableStatementHandler.ifExists(new 
PostgreSQLDropTableStatement(false, false)));
     }
     
     @Test
-    public void assertContainsIfExistsForSQLServer() {
+    public void assertIfExistsForSQLServer() {
         assertTrue(DropTableStatementHandler.ifExists(new 
SQLServerDropTableStatement(true)));
+        assertFalse(DropTableStatementHandler.ifExists(new 
SQLServerDropTableStatement(false)));
     }
-    

Review Comment:
   Please execute `mvn spotless:apply` to format code.



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

Reply via email to