Skip to content

Commit 9e7f38c

Browse files
authored
Merge pull request #2302 from usernameisnull/pgconn-error
chore: should be pgconn.PgError
2 parents ff9c26d + e779a5c commit 9e7f38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

query_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ func TestConnQueryErrorWhileReturningRows(t *testing.T) {
562562
}
563563

564564
if _, ok := rows.Err().(*pgconn.PgError); !ok {
565-
t.Fatalf("Expected pgx.PgError, got %v", rows.Err())
565+
t.Fatalf("Expected pgconn.PgError, got %v", rows.Err())
566566
}
567567

568568
ensureConnValid(t, conn)

0 commit comments

Comments
 (0)