From ace39bb69dc4b2ce02c5a2e82d2d22b2e97ae537 Mon Sep 17 00:00:00 2001 From: heck Date: Mon, 19 Apr 2021 15:05:25 +0200 Subject: [PATCH] Tests: test_pEpSQLite.cc - clean --- test/test_pEpSQLite.cc | 2 +- test/test_pEpSQLite.hh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_pEpSQLite.cc b/test/test_pEpSQLite.cc index cd58fe2..14d6219 100644 --- a/test/test_pEpSQLite.cc +++ b/test/test_pEpSQLite.cc @@ -404,7 +404,7 @@ namespace pEp { to_string(i) + "');"); // cout << "RESULT: " << endl << pEpSQLite::to_string(rs) << endl; if (i % 2) { - if (rs.size() != 0) { + if (!rs.empty()) { runtime_error e{ "Exception verifying database content" }; throw(e); } diff --git a/test/test_pEpSQLite.hh b/test/test_pEpSQLite.hh index 2beb7d7..87665a3 100644 --- a/test/test_pEpSQLite.hh +++ b/test/test_pEpSQLite.hh @@ -51,7 +51,6 @@ namespace pEp { pEpSQLite fixture_db_open_after_close(); // tables pEpSQLite fixture_db_open_with_tables_of_new(); - pEpSQLite fixture_db_open_with_tables_of_corrupt(); // content pEpSQLite fixture_db_open_with_tables_and_content(); // delete