We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d2c18 commit a530d99Copy full SHA for a530d99
test/mysql/runner_test.go
@@ -21,11 +21,12 @@ import (
21
"database/sql"
22
"errors"
23
"fmt"
24
+ "testing"
25
+
26
"github.com/acmestack/gobatis"
27
"github.com/acmestack/gobatis/datasource"
28
"github.com/acmestack/gobatis/factory"
29
_ "github.com/go-sql-driver/mysql"
- "testing"
30
)
31
32
type TestTable struct {
@@ -62,7 +63,7 @@ func initTest(t *testing.T) (err error) {
62
63
"PRIMARY KEY (`id`)" +
64
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"
65
- db, err := sql.Open("mysql", "test:test@tcp(localhost8:3306)/test?charset=utf8")
66
+ db, err := sql.Open("mysql", "test:test@tcp(localhost:3306)/test?charset=utf8")
67
if err != nil {
68
t.Fatal(err)
69
}
0 commit comments