提交 45c53334 编写于 作者: martianzhang's avatar martianzhang

remove no meaning test case

上级 b1c977b1
...@@ -22,8 +22,6 @@ import ( ...@@ -22,8 +22,6 @@ import (
"testing" "testing"
"github.com/XiaoMi/soar/common" "github.com/XiaoMi/soar/common"
"vitess.io/vitess/go/vt/sqlparser"
) )
var update = flag.Bool("update", false, "update .golden files") var update = flag.Bool("update", false, "update .golden files")
...@@ -157,16 +155,6 @@ func TestIsKeyword(t *testing.T) { ...@@ -157,16 +155,6 @@ func TestIsKeyword(t *testing.T) {
} }
} }
func TestRemoveComments(t *testing.T) {
for _, sql := range TestSqlsPretty {
stmt, _ := sqlparser.Parse(sql)
newSQL := sqlparser.String(stmt)
if newSQL != sql {
fmt.Print(newSQL)
}
}
}
func TestMysqlEscapeString(t *testing.T) { func TestMysqlEscapeString(t *testing.T) {
var strs = []map[string]string{ var strs = []map[string]string{
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册