mirror of https://github.com/golang/go.git
database/sql: remove useless error check
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
5dcc04aeac
commit
587bed9a64
|
|
@ -2402,9 +2402,6 @@ func TestConnMaxLifetime(t *testing.T) {
|
|||
// Expire first conn
|
||||
offset = 11 * time.Second
|
||||
db.SetConnMaxLifetime(10 * time.Second)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
tx, err = db.Begin()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue