fix: remove some line

This commit is contained in:
lijunshi 2024-04-20 22:14:25 +08:00
parent ebbe5b71b6
commit fb2792b67a
1 changed files with 0 additions and 6 deletions

View File

@ -205,7 +205,6 @@ func TestSyncTable(t *testing.T) {
tableInfo, err = testEngine.TableInfo(new(SyncTable3))
assert.NoError(t, err)
assert.EqualValues(t, testEngine.Dialect().SQLType(tables[0].GetColumn("name")), testEngine.Dialect().SQLType(tableInfo.GetColumn("name")))
}
func TestSyncTable2(t *testing.T) {
@ -397,7 +396,6 @@ func TestIndexAndUnique(t *testing.T) {
assert.NoError(t, testEngine.DropIndexes(&IndexOrUnique{}))
}
func TestMetaInfo(t *testing.T) {
assert.NoError(t, PrepareEngine())
assert.NoError(t, testEngine.Sync(new(CustomTableName), new(IndexOrUnique)))
@ -539,11 +537,8 @@ func TestModifyColum(t *testing.T) {
})
_, err := testEngine.Exec(alterSQL)
assert.NoError(t, err)
}
type TestCollateColumn struct {
Id int64
UserId int64 `xorm:"unique(s)"`
@ -757,7 +752,6 @@ func getKeysFromMap(m map[string]*schemas.Index) []string {
return ss
}
func TestSync2_3(t *testing.T) {
assert.NoError(t, PrepareEngine())
{