aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.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_c_api.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_c_api.cpp')
-rw-r--r--test/unit/test_c_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index 78e6bced..a657c61e 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -1668,7 +1668,7 @@ TEST_F(CApi, proj_create_from_name) {
false, 0, nullptr);
ASSERT_NE(res, nullptr);
ObjListKeeper keeper_res(res);
- EXPECT_EQ(proj_list_get_count(res), 4);
+ EXPECT_EQ(proj_list_get_count(res), 5);
}
{
auto res = proj_create_from_name(m_ctxt, "xx", "WGS 84", nullptr, 0,