This commit is contained in:
Lunny Xiao 2023-12-14 16:40:10 +08:00
parent 4e1710a7f1
commit 12c587faae
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 2 additions and 2 deletions

View File

@ -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",
}, },
}, },
} }