Fix unit test.
This commit is contained in:
parent
2071f30a1c
commit
6094971947
|
@ -102,9 +102,9 @@ unittest {
|
||||||
void write() {}
|
void write() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto pool = ConnectionPool!Connection({
|
auto pool = new ConnectionPool!Connection({
|
||||||
return new Connection; // perform the connection here
|
return new Connection; // perform the connection here
|
||||||
});
|
});
|
||||||
|
|
||||||
// create and lock a first connection
|
// create and lock a first connection
|
||||||
auto c1 = pool.lockConnection();
|
auto c1 = pool.lockConnection();
|
||||||
|
|
Loading…
Reference in a new issue