diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-02-13 14:52:49 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-03-02 14:26:25 +0100 |
commit | 5ca38bbde93d273a2a4febb42ff5de53b90e1350 (patch) | |
tree | 6b8541ce1eea4c70f28c63cbd5df8cfc580aa665 /test | |
parent | b0a840e44f0291ee448178995ad2a9ff9b514a4c (diff) | |
download | qtlocation-mapboxgl-5ca38bbde93d273a2a4febb42ff5de53b90e1350.tar.gz |
[core] refactor SQLite error/status codes
Diffstat (limited to 'test')
-rw-r--r-- | test/storage/sqlite.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/sqlite.test.cpp b/test/storage/sqlite.test.cpp index 36715a2fd0..7f33174c0d 100644 --- a/test/storage/sqlite.test.cpp +++ b/test/storage/sqlite.test.cpp @@ -33,6 +33,6 @@ TEST(SQLite, TEST_REQUIRES_WRITE(CantOpenException)) { mapbox::sqlite::Database("test/fixtures/offline_database/foobar123.db", mapbox::sqlite::ReadOnly); FAIL(); } catch (mapbox::sqlite::Exception& ex) { - ASSERT_EQ(ex.code, mapbox::sqlite::Exception::Code::CANTOPEN); + ASSERT_EQ(ex.code, mapbox::sqlite::ResultCode::CantOpen); } } |