Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: denodrivers/postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2af36604b083a6b79ccee2fe9b50a813a7e6314a
Choose a base ref
..
head repository: denodrivers/postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c407b2119ef39d8d2831e64d5abecd4a684d1e74
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/pool_test.ts
4 changes: 2 additions & 2 deletions tests/pool_test.ts
Original file line number Diff line number Diff line change
@@ -143,10 +143,10 @@ Deno.test(

Deno.test(
"Pool client will be released after `using` block",
testPool(async (POOL, size) => {
testPool(async (POOL) => {
const initialPoolAvailable = POOL.available;
{
using client = await POOL.connect();
using _client = await POOL.connect();
assertEquals(POOL.available, initialPoolAvailable - 1);
}
assertEquals(POOL.available, initialPoolAvailable);