(t *testing.T)
| 980 | } |
| 981 | |
| 982 | func TestConnDeallocateNonExistentStatementSucceeds(t *testing.T) { |
| 983 | t.Parallel() |
| 984 | |
| 985 | ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second) |
| 986 | defer cancel() |
| 987 | |
| 988 | pgConn, err := pgconn.Connect(ctx, os.Getenv("PGX_TEST_DATABASE")) |
| 989 | require.NoError(t, err) |
| 990 | defer closeConn(t, pgConn) |
| 991 | |
| 992 | err = pgConn.Deallocate(ctx, "ps1") |
| 993 | require.NoError(t, err) |
| 994 | |
| 995 | ensureConnValid(t, pgConn) |
| 996 | } |
| 997 | |
| 998 | func TestConnExec(t *testing.T) { |
| 999 | t.Parallel() |
nothing calls this directly
no test coverage detected