aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_factory.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-06 23:34:09 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-07 12:17:13 +0100
commit699b92250a90e5c333572245cf3d09c9e00e50e5 (patch)
tree613a0e59b73861a16fc21c7a41b70245e297452c /test/unit/test_factory.cpp
parent529eb50f5d7e817dd27674984050a9bf1a6dce55 (diff)
downloadPROJ-699b92250a90e5c333572245cf3d09c9e00e50e5.tar.gz
PROJ-699b92250a90e5c333572245cf3d09c9e00e50e5.zip
createObjectsFromName(): make it look up in the alias_name table too (fixes #1823)
Diffstat (limited to 'test/unit/test_factory.cpp')
-rw-r--r--test/unit/test_factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 0d47bfc3..c6865f04 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -2733,8 +2733,8 @@ TEST(factory, createObjectsFromName) {
EXPECT_EQ(factory->createObjectsFromName("").size(), 0U);
- // ellipsoid + 3 geodeticCRS
- EXPECT_EQ(factory->createObjectsFromName("WGS 84", {}, false).size(), 4U);
+ // ellipsoid + datum + 3 geodeticCRS
+ EXPECT_EQ(factory->createObjectsFromName("WGS 84", {}, false).size(), 5U);
EXPECT_EQ(factory->createObjectsFromName("WGS 84", {}, true, 10).size(),
10U);