Fix unit test.

This commit is contained in:
Sönke Ludwig 2016-11-02 20:52:59 +01:00
parent 2071f30a1c
commit 6094971947

View file

@ -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();