From 15d6475b8caeb169fd2c060076738db75fc527b3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 19 Aug 2019 20:57:07 +0200 Subject: C API: add proj_context_set_autoclose_database() to automatically close database (fixes #1565) --- test/unit/test_factory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/unit/test_factory.cpp') 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); } -- cgit v1.2.3