aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_factory.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-08-22 09:52:45 +0200
committerGitHub <noreply@github.com>2019-08-22 09:52:45 +0200
commitb7f829ce8f7c9fce2934b3981493a5d3338143b9 (patch)
treec50d03ac81b1e10e0d4356234757126a708e9ac1 /test/unit/test_factory.cpp
parent2c9c015a6529548f5a5d448c78bc9b565d751590 (diff)
parent15d6475b8caeb169fd2c060076738db75fc527b3 (diff)
downloadPROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.tar.gz
PROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.zip
Merge pull request #1566 from rouault/add_proj_context_set_autoclose_database
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.cpp3
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);
}