From 163c90bf939fd158490953230352d1d20d649e1f Mon Sep 17 00:00:00 2001 From: jay li <221531386@qq.com> Date: Wed, 25 Dec 2024 23:09:41 +0800 Subject: [PATCH] fix --- pkg/datasource/sql/datasource/base/meta_cache_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/datasource/sql/datasource/base/meta_cache_test.go b/pkg/datasource/sql/datasource/base/meta_cache_test.go index 2f8c039f..ea37b48b 100644 --- a/pkg/datasource/sql/datasource/base/meta_cache_test.go +++ b/pkg/datasource/sql/datasource/base/meta_cache_test.go @@ -109,8 +109,7 @@ func TestBaseTableMetaCache_refresh(t *testing.T) { func TestBaseTableMetaCache_GetTableMeta(t *testing.T) { var ( - tableMeta1 types.TableMeta - // one index table + tableMeta1 types.TableMeta tableMeta2 types.TableMeta columns = make(map[string]types.ColumnMeta) index = make(map[string]types.IndexMeta) @@ -149,7 +148,7 @@ func TestBaseTableMetaCache_GetTableMeta(t *testing.T) { ColumnNames = []string{"id", "name", "age"} tableMeta1 = types.TableMeta{ - TableName: "t_user1", + TableName: "T_USER1", Columns: columns, Indexs: index, ColumnNames: ColumnNames, @@ -162,7 +161,7 @@ func TestBaseTableMetaCache_GetTableMeta(t *testing.T) { } tableMeta2 = types.TableMeta{ - TableName: "t_user", + TableName: "T_USER2", Columns: columns, Indexs: index2, ColumnNames: ColumnNames,