From 74195796151bdc7cb1b0752160d8f8fc75455c7a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 24 Aug 2021 15:40:38 +0800 Subject: [PATCH] Fix test --- integrations/tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/tests.go b/integrations/tests.go index 9f01e9ae..8b14b0f4 100644 --- a/integrations/tests.go +++ b/integrations/tests.go @@ -162,7 +162,7 @@ func createEngine(dbType, connStr string) error { if err != nil { return err } - var tableNames []interface{} + var tableNames = make([]interface{}, 0, len(tables)) for _, table := range tables { tableNames = append(tableNames, table.Name) }