14 lines
207 B
Go
14 lines
207 B
Go
package executor
|
|
|
|
import "testing"
|
|
|
|
func TestMySqlConnection(t *testing.T) {
|
|
|
|
connection, strings := MySqlConnection("10.250.0.126", "33306")
|
|
if !connection {
|
|
t.Error(strings)
|
|
}
|
|
|
|
println("success!")
|
|
}
|