Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitigr committed Apr 11, 2024
1 parent c53a16c commit ac74a4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/pgfe/pgfe-unit-connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ try {
pgfe::Connection conn;
try {
conn.connect();
} catch (const std::exception& e) {}
} catch (const std::exception& e) {
DMITIGR_ASSERT(conn.status() == Connection_status::disconnected);
}
conn.disconnect();
DMITIGR_ASSERT(conn.status() == Connection_status::disconnected);
}
// conn.disconnect();
// DMITIGR_ASSERT(conn.status() == Connection_status::disconnected);

// Ping
{
Expand Down

0 comments on commit ac74a4e

Please sign in to comment.