Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jay li committed Dec 25, 2024
1 parent 7d83193 commit 163c90b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/datasource/sql/datasource/base/meta_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 163c90b

Please sign in to comment.