add more tests for stores (#445)

master
Kevin Wan 4 years ago committed by GitHub
parent 316195e912
commit 852891dbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,11 @@
package clickhouse
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestClickHouse(t *testing.T) {
assert.NotNil(t, New("clickhouse"))
}

@ -7,6 +7,6 @@ import (
const postgresDriverName = "postgres"
func NewPostgres(datasource string, opts ...sqlx.SqlOption) sqlx.SqlConn {
func New(datasource string, opts ...sqlx.SqlOption) sqlx.SqlConn {
return sqlx.NewSqlConn(postgresDriverName, datasource, opts...)
}

@ -0,0 +1,11 @@
package postgres
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestPostgreSql(t *testing.T) {
assert.NotNil(t, New("postgre"))
}
Loading…
Cancel
Save