Fix bug
This commit is contained in:
parent
4e1710a7f1
commit
12c587faae
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSplitColStr(t *testing.T) {
|
func TestSplitColStr(t *testing.T) {
|
||||||
var kases = []struct {
|
kases := []struct {
|
||||||
colStr string
|
colStr string
|
||||||
fields []string
|
fields []string
|
||||||
}{
|
}{
|
||||||
|
@ -31,7 +31,7 @@ func TestSplitColStr(t *testing.T) {
|
||||||
colStr: ` id INTEGER not null
|
colStr: ` id INTEGER not null
|
||||||
primary key autoincrement`,
|
primary key autoincrement`,
|
||||||
fields: []string{
|
fields: []string{
|
||||||
"id", "INTEGER", "not null", "primary", "key", "autoincrement",
|
"id", "INTEGER", "not", "null", "primary", "key", "autoincrement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue