diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-19 20:57:07 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-20 13:26:54 +0200 |
| commit | 15d6475b8caeb169fd2c060076738db75fc527b3 (patch) | |
| tree | c50d03ac81b1e10e0d4356234757126a708e9ac1 /test/unit/test_factory.cpp | |
| parent | 2c9c015a6529548f5a5d448c78bc9b565d751590 (diff) | |
| download | PROJ-15d6475b8caeb169fd2c060076738db75fc527b3.tar.gz PROJ-15d6475b8caeb169fd2c060076738db75fc527b3.zip | |
C API: add proj_context_set_autoclose_database() to automatically close database (fixes #1565)
Diffstat (limited to 'test/unit/test_factory.cpp')
| -rw-r--r-- | test/unit/test_factory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index e23d1421..e68b42fc 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -2695,7 +2695,8 @@ TEST(factory, createObjectsFromName) { { auto res = factoryEPSG->createObjectsFromName( "WGS84", {AuthorityFactory::ObjectType::GEOGRAPHIC_2D_CRS}, true); - EXPECT_EQ(res.size(), 8U); // EPSG:4326 and EPSG:4030 and the 6 WGS84 realizations + EXPECT_EQ(res.size(), + 8U); // EPSG:4326 and EPSG:4030 and the 6 WGS84 realizations if (!res.empty()) { EXPECT_EQ(res.front()->getEPSGCode(), 4326); } |
