Skip to content

Commit 804879d

Browse files
committed
Revert OLD cmake policy & tested commented out
1 parent df7d113 commit 804879d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
66
# or copy at http://opensource.org/licenses/MIT)
77
cmake_minimum_required(VERSION 2.8.12) # first version with add_compile_options()
8-
cmake_policy(SET CMP0048 OLD)
98
project(SQLiteCpp)
109

1110
message (STATUS "CMake version: ${CMAKE_VERSION}")

tests/Database_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ TEST(Database, encryptAndDecrypt) {
283283
// Reopen the database file and try to use it
284284
EXPECT_FALSE(SQLite::Database::isUnencrypted("test.db3"));
285285
SQLite::Database db("test.db3", SQLite::OPEN_READONLY);
286-
// Decrypt the database
286+
EXPECT_THROW(db.tableExists("test"), SQLite::Exception);
287287
db.key("123secret");
288288
EXPECT_TRUE(db.tableExists("test"));
289289
} // Close DB test.db3

0 commit comments

Comments
 (0)