From c565260990372be880cfe0123d3f482ab56073cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E9=93=81?= Date: Wed, 29 Jun 2016 02:39:59 +0800 Subject: [PATCH] fixed testcase --- .../com/alibaba/druid/bvt/sql/odps/OdpsFormatCommentTest18.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/alibaba/druid/bvt/sql/odps/OdpsFormatCommentTest18.java b/src/test/java/com/alibaba/druid/bvt/sql/odps/OdpsFormatCommentTest18.java index 866cf394ca..47f0447e77 100644 --- a/src/test/java/com/alibaba/druid/bvt/sql/odps/OdpsFormatCommentTest18.java +++ b/src/test/java/com/alibaba/druid/bvt/sql/odps/OdpsFormatCommentTest18.java @@ -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)); } }