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() {}
}
auto pool = ConnectionPool!Connection({
return new Connection; // perform the connection here
});
auto pool = new ConnectionPool!Connection({
return new Connection; // perform the connection here
});
// create and lock a first connection
auto c1 = pool.lockConnection();