pgx/conn_test.go

13 lines
213 B
Go

package pqx
import (
"testing"
)
func TestConnect(t *testing.T) {
_, err := Connect(map[string]string{"socket": "/private/tmp/.s.PGSQL.5432"})
if err != nil {
t.Fatal("Unable to establish connection")
}
}