fmt
This commit is contained in:
parent
a5c3ebf418
commit
e5ff26e652
|
@ -341,6 +341,6 @@ func TestDropTableCols(t *testing.T) {
|
||||||
|
|
||||||
assert.NoError(t, prepareEngine())
|
assert.NoError(t, prepareEngine())
|
||||||
assert.NoError(t, testEngine.Sync2(new(TestDropTableCols)))
|
assert.NoError(t, testEngine.Sync2(new(TestDropTableCols)))
|
||||||
assert.NoError(t, testEngine.DropTableCols(new(TestDropTableCols),"name", "to_drop"))
|
assert.NoError(t, testEngine.DropTableCols(new(TestDropTableCols), "name", "to_drop"))
|
||||||
//ToDo: TEST if cols still exist
|
//ToDo: TEST if cols still exist
|
||||||
}
|
}
|
|
@ -27,4 +27,3 @@ func SplitNNoCase(s, sep string, n int) []string {
|
||||||
}
|
}
|
||||||
return strings.SplitN(s, s[idx:idx+len(sep)], n)
|
return strings.SplitN(s, s[idx:idx+len(sep)], n)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
"regexp"
|
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"xorm.io/xorm/internal/utils"
|
"xorm.io/xorm/internal/utils"
|
||||||
|
|
Loading…
Reference in New Issue