mirror of
https://github.com/jackc/pgx.git
synced 2025-05-25 17:00:21 +00:00
Fix go vet issue
This commit is contained in:
parent
20c02acd63
commit
b8832c26d4
@ -464,6 +464,10 @@ func TestConnCopyFromCopyFromSourceNextPanic(t *testing.T) {
|
||||
conn.CopyFrom(pgx.Identifier{"foo"}, []string{"a"}, &nextPanicSource{})
|
||||
}()
|
||||
|
||||
if !caughtPanic {
|
||||
t.Error("expected panic but did not")
|
||||
}
|
||||
|
||||
if conn.IsAlive() {
|
||||
t.Error("panic should have killed conn")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user