You've already forked go-sqlxmock
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user