1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-11-29 21:57:41 +02:00

update travis

This commit is contained in:
gedi
2015-01-17 17:10:40 +02:00
parent 8b39a1b05d
commit 5b6166bfbf
3 changed files with 14 additions and 10 deletions

View File

@@ -94,8 +94,7 @@ func New() (db *sql.DB, err error) {
return
}
// ensure open connection, otherwise Close does not assert expectations
db.Ping()
return
return db, db.Ping()
}
// ExpectBegin expects transaction to be started