fixed testcase

This commit is contained in:
高铁
2016-06-29 02:39:59 +08:00
parent 493f69c64e
commit c565260990
@@ -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));
}
}