mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed testcase
This commit is contained in:
@@ -18,7 +18,7 @@ public class OdpsFormatCommentTest18 extends TestCase {
|
||||
public void test_column_comment_2() throws Exception {
|
||||
String sql = "create table t (f1 string comment \"xxx's\")";
|
||||
Assert.assertEquals("CREATE TABLE t ("
|
||||
+ "\n\tf1 STRING COMMENT 'xxx''s'"
|
||||
+ "\n\tf1 STRING COMMENT 'xxx\\'s'"
|
||||
+ "\n)", SQLUtils.formatOdps(sql));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user